Subscribe constructor
Subscribe(
- int requestId,
- String topic, {
- SubscribeOptions? options,
The requestId will identify the subscription server response. The topic is the actual topic to subscribe to or a prefix or wildcard topic as defined in the options.
Implementation
Subscribe(this.requestId, this.topic, {this.options}) {
id = MessageTypes.codeSubscribe;
}