パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v5.1.0

mqtt5_client

Dart用のサーバーおよびブラウザベースのMQTT5クライアントで、通常のセキュアソケットおよびWebSocketをサポートしています。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
6.1万
いいね数
72
Pub ポイント
150

パッケージをインストール

flutter pub add mqtt5_client

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

複数のプラットフォームでリアルタイム通信を構築するためのMQTT5クライアントを提供するDartパッケージです。標準、セキュア(TLS)、WebSocket接続をサポートしており、デバイスとサーバー間での信頼性の高いメッセージングを可能にします。IoT、ライブデータフィード、チャットアプリケーションに最適で、Android、iOS、Web、macOS、Windows、Linuxでスムーズに動作します。完全なMQTT5プロトコルを実装しており、セッションの永続性、高度なエラー処理、カスタムプロパティなどの高度な機能を備えています。最小限のセットアップで堅牢なクロスプラットフォーム接続が必要な開発者向けに設計されています。

用途

  • IoTデバイス通信
  • リアルタイムダッシュボード
  • ライブチャットアプリケーション
  • リモートセンサー監視
  • プッシュ通知
  • クロスプラットフォームメッセージング

主な機能

  • MQTT 5 プロトコルをサポートしています
  • セキュアな TLS および WebSocket 接続
  • セッションの永続性
  • クロスプラットフォーム互換性
  • カスタムメッセージプロパティ
  • エラーコードの処理

適している対象

  • IoT開発者
  • リアルタイムアプリビルダー
  • Webおよびモバイル開発者
  • パブ/サブを必要とするバックエンドサービス
  • 信頼できるメッセージングを必要とするアプリケーション

注意事項

  • MQTTプロトコルの理解が必要です
  • ファイアウォール用に追加の構成が必要になる場合があります
  • WebSocket のサポートはサーバーの設定に依存します
  • リアルタイムではない用途には適していません
  • 成熟した代替品と比べてドキュメントが限られている

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

mqtt5_client

Build Status

A server and browser based MQTT Version 5 client for Dart.

The client is an MQTT Version 5 implementation supporting subscription/publishing at all QOS levels, authentication, keep alive and synchronous connection. The client is designed to take as much MQTT protocol work off the user as possible, connection protocol is handled automatically as are the message exchanges needed to support the different QOS levels and the keep alive mechanism. This allows the user to concentrate on publishing/subscribing and not the details of MQTT itself.

Examples of usage can be found in the examples directory.

The server client supports both normal and secure TCP connections and secure(wss) and non-secure(ws) websocket connections. The browser client supports only secure(wss) and non-secure(ws) websocket connections.

Please read the changelog for details related to specific versions.

This version of the client supports the full MQTT Version 5 message set including the setting and reception of user properties and authentication using the authenticate message. Some aspects of the MQTT version 5 protocol are not yet fully implemented and will be added in future versions. If some particular currently unsupported functionality is needed please raise an issue for it and this will be processed ahead of other functionality.

Omissions from the full MQTT Version 5 specification in this version are as follows :-

  • Parameters received in the connect acknowledge message are not fully acted upon, e.g receive maximum and topic alias maximum values for instance are not enforced.
  • Subscription identifiers and shared subscriptions are not fully supported.
  • Server redirection is not supported.
  • Reason codes are processed only in support of the protocol itself, other than this although received reason codes are made available to the user the client will not necessarily take any action itself.
  • Flow control is not fully supported.

カテゴリー

依存関係

依存関係一覧 8 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。