connectmq 1.0.0
connectmq: ^1.0.0 copied to clipboard
Publish and subscribe on the free public MQTT broker broker.connectmq.com in one line. TCP, TLS and WebSocket client for Dart and Flutter, plus a CLI.
1.0.0 #
- Initial release.
ConnectMQClient.connect()for the free public broker broker.connectmq.com and private ConnectMQ brokers over TCP, TLS, WebSocket and secure WebSocket.publish()with automatic payload encoding (String, bytes, JSON) and QoS 1/2 acknowledgement,clearRetained().subscribe()returning aStream<ConnectMQMessage>that never loses retained messages and unsubscribes when the listener cancels;waitForMessage().- Helpers
brokerUrl(),topicPrefix(),topicMatches(),brokerInfoandtestBroker(). - Web support (Flutter web, dart2js, dart2wasm) via
MqttBrowserClient(ws and wss). connectmqcommand line tool:test,info,prefix,sub,pub.