MosquittoClient.subscribe

you need copy message data in callback if requires

  1. void subscribe(string pattern, int qos, void delegate(const(char)[], const(void)[]) cb)
    class MosquittoClient
    void
    subscribe
    (
    string pattern
    ,
    int qos
    ,
    void delegate
    (
    const(char)[]
    ,
    const(void)[]
    )
    cb
    )
  2. void subscribe(string pattern, int qos, void delegate(const(void)[]) cb)

Meta