queueMessages property

bool queueMessages
getter/setter pair

Whether the default behavior whereby the library queues messages on a connection in the disconnected or connecting states is used.

The default behavior enables applications to submit messages immediately upon instantiating the library without having to wait for the connection to be established. Applications may use this option to disable queueing if they wish to have application-level control over the queueing. The default is true.

Implementation

bool queueMessages = true;