Module client
Expand description
Client state machine.
Client tracks connection lifecycle, server-negotiated limits, packet
ID allocation, and QoS 1/2 flows. It consumes decoded packets and
produces ClientEvents and Responses for the caller to send.
Structs§
- Client
- Sans-io MQTT v5 client state machine.
- Handle
Outcome - Result of processing an incoming packet.
- Server
Capabilities - Server capabilities extracted from CONNACK properties (§3.2.2.3).
Enums§
- Client
Error - Errors from the client state machine.
- Client
Event - Events produced by the client state machine for the application layer.
- Connection
State - Connection lifecycle phase.
- Response
- A response packet that the caller must encode and send to the server.
- Retransmit
- Describes a message that needs retransmission after reconnect.