![]() |
Home | Libraries | People | FAQ | More |
Assign a will Message.
boost::mqtt5::mqtt_client& will(boost::mqtt5::willwill);
The will
Message that the Broker should publish after the Network Connection is
closed and it is not closed normally.
This function has no effect while the Client is running. Call it before
async_run, or after cancel or async_disconnect and before invoking
async_run again.