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

패키지 상세v0.3.3

xmpp_stone

Xmpp Stone 은 완전히 Dart로 작성된 가벼운 XMPP 클라이언트 라이브러리입니다.

30일 다운로드
409
좋아요
72
Pub 점수
40

패키지 설치

flutter pub add xmpp_stone

패키지 개요

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

Xmpp Stone은 Dart로 완전히 구현된 가벼운 XMPP 클라이언트 라이브러리로, Flutter 애플리케이션에서 실시간 통신을 위해 설계되었습니다. 즉각적인 메시징, 상태 업데이트 및 실시간 데이터 교환을 지원하는 XMPP(확장 가능한 메시징 및 존재 프로토콜) 기능을 원활하게 통합할 수 있습니다. 무거운 종속성 없이 효율적이고 크로스플랫폼의 실시간 통신을 원하는 개발자에게 이상적입니다. 깔끔한 API와 성능에 중점을 두어 앱 내 채팅 및 협업 기능 구현을 간소화합니다. 소스 코드는 투명성과 사용자 맞춤화를 위해 GitHub에 공개되어 있습니다.

사용 사례

  • 실시간 메시징 앱
  • 존재 및 상태 추적
  • 채팅 기반 협업 도구
  • 사물인터넷 장치 통신
  • 크로스플랫폼 채팅 통합

주요 기능

  • 가볍고 빠름
  • 순수한 다트 구현
  • XMPP 프로토콜을 지원합니다
  • Flutter와의 간편한 통합
  • 오픈소스이며 확장 가능

적합한 대상

  • 채팅 앱을 개발하는 개발자
  • 실시간 동기화가 필요한 팀
  • XMPP 지원이 필요한 프로젝트
  • 저지연이 필요한 Flutter 앱
  • 맞춤형 실시간 통신 솔루션

고려 사항

  • 제한된 문서
  • 공식적인 유지보수 상태 없음
  • XMPP 서버 설정이 필요합니다
  • 복잡한 메시징 워크플로우에 적합하지 않습니다
  • 외부 XMPP 서버 인프라에 의존합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

XmppStone

Lightweight XMPP client library written completely in Dart. My intention is to write simple to use library for future XMPP client based on Flutter.

Supported documents:

  • RFC6120: Extensible Messaging and Presence Protocol (XMPP): Core
  • RFC6121: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence
  • XEP-0198: Stream Management
  • XEP-0085: Chat State Notifications
  • XEP-0318: Best Practices for Client Initiated Presence Probes
  • XEP-0280: Message Carbons

Partly supported:

  • XEP-0030: Service Discovery
  • XEP-0313: Message Archive Management

Actively working on:

  • XEP-0059: Result Set Management
  • XEP-0004: Data Forms

Latest news

  • 2020-10-30: Added support for XEP-0280: Message Carbons
  • 2020-10-30: Added initial support for XEP-0313: Message Archive Management
  • 2020-10-30: Added logging mechanism
  • 2020-07-23: Added support for XEP-0318: Best Practices for Client Initiated Presence Probes
  • 2020-05-02: Added initial support for XEP-0198 : Stream Management
  • 2020-05-02: Added initial support for XEP-0085 : Chat State Notifications
  • 2019-04-02: added support for: XEP-0054: vcard-temp
  • 2019-04-01: added support for SHA-1 and SHA-256 authentication algorithm

Usage

import 'package:xmpp_stone/xmpp_stone.dart' as xmpp;

main() {
  xmpp.Connection connection = new xmpp.Connection("user@domain", "password", 5222);
  connection.open();
}

Features

1. Logging
Log level

Client can set logging level of the library with command:

Log.logLevel = LogLevel.VERBOSE;
XMPP traffic logging

Xmpp traffic can be enabled or disabled with:

Log.logXmpp = false
2. Message Archive Management

Feature is work in progress, API is subject to change.

Initial implementation of Message Archive Management.

RST is not yet implemented.

Usage:

  • Grabbing the module
connection.getMamModule()
  • Querying all messages:
mamManager.queryAll();
  • Querying messages based on date (All parameters are optional):
mamManager.queryByTime(start: startTime, end: endTime, jid: buddyJid);
  • Querying messages based on messageId (All parameters are optional): This method requires urn:xmpp:mam:2#extended to be supported by the serve, soon it will be available to check feature support.
mamManager.queryById(beforeId: beforeId, afterId: afterId, jid: buddyJid});

Checking capabilities of the server:

mamManager.isQueryByDateSupported
mamManager.isQueryByIdSupported
mamManager.isQueryByJidSupported

카테고리

의존성

의존성 목록 10 개

소스 저장소

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

아직 데이터가 없습니다.