mosquittod ~master (2020-05-24T14:57:16Z)
Dub
Repo
MosquittoClient.subscribe
mosquittod
wrap
MosquittoClient
you need copy message data in callback if requires
void
subscribe
(string pattern, int qos, void delegate(const(char)[], const(void)[]) cb)
void
subscribe
(string pattern, int qos, void delegate(const(void)[]) cb)
class
MosquittoClient
void
subscribe
(
string
pattern
,
int
qos
,
void
delegate
(
const
(
void
)[]
)
cb
)
Meta
Source
See Implementation
mosquittod
wrap
MosquittoClient
constructors
this
destructors
~this
functions
connect
connected
disconnect
loop
onMessage
publish
reconnect
subscribe
subscribeList
toStringzBuf
static functions
onConnectCallback
onDisconnectCallback
onMessageCallback
structs
Callback
Settings
variables
_connected
buffers
mosq
onConnect
settings
slist
you need copy message data in callback if requires