The actions that specifies which topics you want to subscribe to and what to do with the received messages.
Specifies the host to use in the url string. Note: overwritten by url property.
The type of the message given as parameter of onMessage callback. Default: BUFFER. Note: overwritten by the more-specific messageType option whether specified in a certain topic.
Specifies what will be executed in case of an error. Note: overwritten by the more-specific onError option whether specified in a certain topic.
What will be done with the received messages. Note: overwritten by the more-specific onMessage option whether specified in a certain topic.
Specifies the port to use in the url string. Note: overwrites the port specified by type property but is overwritten by url property.
Specifies the protocol to use in the url string. Note: overwrites the protocol specified by type property but is overwritten by url property.
If not overwritten, the protocol and the port will be determined by this property.
Specifies the url used by the connection. Note: overwrites all the other properties that specify the url.
Generated using TypeDoc
The interface contians the options of the subscribe function.