v0.3.3
xmpp_stone
Xmpp Stone 은 완전히 Dart로 작성된 가벼운 XMPP 클라이언트 라이브러리입니다.
72좋아요 23230일 다운로드40Pub 점수
플랫폼 정보 없음
Dart로 작성된 가벼운 XMPP 클라이언트 라이브러리
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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:
Partly supported:
Actively working on:
import 'package:xmpp_stone/xmpp_stone.dart' as xmpp;
main() {
xmpp.Connection connection = new xmpp.Connection("user@domain", "password", 5222);
connection.open();
}
Client can set logging level of the library with command:
Log.logLevel = LogLevel.VERBOSE;
Xmpp traffic can be enabled or disabled with:
Log.logXmpp = false
Feature is work in progress, API is subject to change.
Initial implementation of Message Archive Management.
RST is not yet implemented.
Usage:
connection.getMamModule()
mamManager.queryAll();
mamManager.queryByTime(start: startTime, end: endTime, jid: buddyJid);
mamManager.queryById(beforeId: beforeId, afterId: afterId, jid: buddyJid});
Checking capabilities of the server:
mamManager.isQueryByDateSupported
mamManager.isQueryByIdSupported
mamManager.isQueryByJidSupported