
Chapter 1. Overview of MQTT 7
Wills
When a client connects to a server, it can inform the server that it has a will, or a message,
that should be published to a specific topic or topics in the event of an unexpected
disconnection. A will is particularly useful in alarm or security settings where system
managers must know immediately when a remote sensor has lost contact with the network.
1.2.4 Comparison between MQTT and HTTP
Although comparison is often made between MQTT and other common protocols, the most
useful comparison is with HTTP, for the following reasons:
HTTP is the most widely used and available protocol. Almost all computing devices ...