The actions (topic and message) that you want to publish.
Specifies the host to use in the url string. Note: overwritten by url property.
The time in milliseconds between every publication of a topic. Note: overwritten by the more-specific interval 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.
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 contains the options of the publish function.