패키지, 저장소 및 앱 카테고리 검색

패키지 상세v5.1.0

mqtt5_client

Dart용 서버 및 브라우저 기반의 MQTT5 클라이언트로 일반, 보안 소켓 및 웹소켓을 지원합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
6.1만
좋아요
72
Pub 점수
150

패키지 설치

flutter pub add mqtt5_client

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

다양한 플랫폼에서 실시간 통신을 구축하기 위한 MQTT5 클라이언트를 제공하는 Dart 패키지입니다. 표준, 보안(TLS), 웹소켓 연결을 지원하여 장치와 서버 간 신뢰할 수 있는 메시징을 가능하게 합니다. IoT, 실시간 데이터 피드, 채팅 애플리케이션에 적합하며 Android, iOS, Web, macOS, Windows, Linux에서 원활하게 작동합니다. 세션 지속성, 고급 오류 처리, 사용자 정의 속성과 같은 고급 기능을 포함한 완전한 MQTT5 프로토콜을 구현했습니다. 최소한의 설정으로 강력하고 크로스플랫폼 연결이 필요한 개발자를 위해 설계되었습니다.

사용 사례

  • 사물인터넷 장치 통신
  • 실시간 대시보드
  • 라이브 채팅 애플리케이션
  • 원격 센서 모니터링
  • 푸시 알림
  • 크로스 플랫폼 메시징

주요 기능

  • MQTT 5 프로토콜을 지원합니다
  • 보안 TLS 및 WebSocket 연결
  • 세션 지속성
  • 크로스 플랫폼 호환성
  • 사용자 정의 메시지 속성
  • 오류 코드 처리

적합한 대상

  • 사물인터넷 개발자
  • 실시간 앱 빌더
  • 웹 및 모바일 개발자
  • 발행/구독이 필요한 백엔드 서비스
  • 신뢰할 수 있는 메시징이 필요한 응용 프로그램

고려 사항

  • 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.