पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv0.3.3

xmpp_stone

Xmpp Stone एक हल्का XMPP क्लाइंट लाइब्रेरी है जो पूरी तरह से डार्ट में लिखी गई है।

30-दिन डाउनलोड
409
लाइक
72
Pub अंक
40

पैकेज इंस्टॉल करें

flutter pub add xmpp_stone

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

Xmpp Stone एक हल्का XMPP क्लाइंट लाइब्रेरी है जो पूरी तरह से डार्ट में बनाई गई है, जिसका उपयोग फ्लटर एप्लिकेशन में रियल-टाइम कम्युनिकेशन के लिए किया जाता है। यह XMPP (एक्सटेंसिबल मैसेजिंग एंड प्रेजेंस प्रोटोकॉल) कार्यक्षमता को बिना किसी दिक्कत के एकीकृत करने में सक्षम है, जिसमें तत्काल संदेश, उपस्थिति अपडेट और रियल-टाइम डेटा आदान-प्रदान शामिल है। लाइब्रेरी विकासकर्ताओं के लिए बहुत उपयुक्त है जो भारी निर्भरता के बिना कुशल, क्रॉस-प्लेटफॉर्म रियल-टाइम कम्युनिकेशन चाहते हैं। इसके स्पष्ट API और प्रदर्शन पर ध्यान केंद्रित करने के कारण, यह ऐप में चैट और सहयोग कार्यक्षमता के कार्यान्वयन को सरल बनाता है। स्रोत कोड लेखन के लिए गिटहब पर सार्वजनिक रूप से उपलब्ध है ताकि पारदर्शिता और कस्टमाइज़ेशन की गारंटी हो।

उपयोग

  • रियल-टाइम संदेश ऐप्स
  • उपस्थिति और स्थिति ट्रैकिंग
  • चैट-आधारित सहयोग उपकरण
  • आईओटी उपकरण संचार
  • प्लेटफॉर्म-समर्थित चैट एकीकरण

मुख्य विशेषताएँ

  • हल्का और तेज़
  • शुद्ध डार्ट कार्यान्वयन
  • 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 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।