mqtt_plus
所属分类:通讯编程
开发工具:Dart
文件大小:0KB
下载次数:0
上传日期:2023-09-13 03:48:49
上 传 者:
sh-1993
说明: 构建一个方便的mqtt客户端,提供发射器和处理程序来在此处编写业务代码。,
(Build a convenient mqtt client, provide emitter and handler to write business code here.,)
文件列表:
.metadata (309, 2023-11-06)
.vscode/ (0, 2023-11-06)
.vscode/settings.json (31, 2023-11-06)
CHANGELOG.md (319, 2023-11-06)
LICENSE (1096, 2023-11-06)
analysis_options.yaml (154, 2023-11-06)
example/ (0, 2023-11-06)
example/mqtt_plus.dart (189, 2023-11-06)
lib/ (0, 2023-11-06)
lib/mqtt_plus.dart (298, 2023-11-06)
lib/src/ (0, 2023-11-06)
lib/src/mqtt_emitter.dart (96, 2023-11-06)
lib/src/mqtt_exception.dart (211, 2023-11-06)
lib/src/mqtt_handler.dart (115, 2023-11-06)
lib/src/mqtt_plus.dart (3695, 2023-11-06)
pubspec.yaml (422, 2023-11-06)
test/ (0, 2023-11-06)
test/mqtt_plus_test.dart (271, 2023-11-06)
# Mqtt plus
![Current Version](https://img.shields.io/badge/0.0.4-blue?style=flat-square&label=version)
Build a convenient mqtt client, provide emitter and handler to write business code here.
## Install
```bash
flutter pub add mqtt_plus
```
## Getting started
```dart
import 'package:mqtt_plus/mqtt_plus.dart';
void main() async {
final client = MqttClient(url: 'mqtt://localhost:1883');
await client.connect();
await client.subscribe('/foo/bar');
}
```
近期下载者:
相关文件:
收藏者: