- connect
void connect()
- connected
bool connected()
- disconnect
void disconnect()
- loop
void loop(int timeoutMSecs)
- onMessage
void onMessage(const(char)* topicZ, const(void[]) payload)
Undocumented in source. Be warned that the author may not have intended to support it.
- publish
int publish(string topic, int qos, const(void)[] data, bool retain)
- publish
int publish(string topic, const(void)[] data, bool retain)
- reconnect
void reconnect()
- subscribe
void subscribe(string pattern, int qos, void delegate(const(char)[], const(void)[]) cb)
void subscribe(string pattern, int qos, void delegate(const(void)[]) cb)
you need copy message data in callback if requires
- subscribeList
void subscribeList()
Undocumented in source. Be warned that the author may not have intended to support it.
- toStringzBuf
char* toStringzBuf(string str, size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.