Interface DisconnectionEvent

Payload of the Disconnection event for the MQTT5 client.

Hierarchy

  • DisconnectionEvent

Properties

Properties

disconnect?: DisconnectPacket

If the disconnection event was due to a server-side DISCONNECT packet, the DISCONNECT packet received from the server.

error: ICrtError

Best-guess description of why the disconnection occurred.

Generated using TypeDoc