Skip to main content

connectmq 1.0.0 copy "connectmq: ^1.0.0" to clipboard
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.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate connectmq

Use it

The package has the following executables:

$ connectmq

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add connectmq

With Flutter:

 $ flutter pub add connectmq

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  connectmq: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:connectmq/connectmq.dart';
0
likes
160
points
463
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

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.

Homepage

Topics

#mqtt #iot #pubsub #websocket #messaging

License

MIT (license)

Dependencies

args, mqtt_client, typed_data

More

Packages that depend on connectmq