Expand description
MQTT Client for WASM
This library provides a WebSocket-based MQTT client that works in WASM environments. It offers a low-level endpoint API similar to mqtt-endpoint-tokio, providing basic operations like send, recv, and close without high-level publish/subscribe abstractions.
Modules§
Macros§
Structs§
- Mqtt
Client - MQTT client with clean channel-based design
- Mqtt
Config - MQTT client configuration
Enums§
- Connection
State - Connection state
- Error
- Underlying
Layer Command - Underlying layer commands (sent TO transport FROM message loop)
- Underlying
Layer Event - Underlying layer events (sent FROM transport TO message loop)
Traits§
- Underlying
Layer Interface - Abstract underlying layer interface for testing (pure message-passing)