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

पैकेज विवरणv1.0.1

web_socket

WebSocket से संचार करने के लिए कोई आसान उपयोगी पुस्तकालय जिसमें कई कार्यान्वयन हैं।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
1.2 क॰
लाइक
67
Pub अंक
160

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

flutter pub add web_socket

पैकेज अवलोकन

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

एक सरल और लचीला Dart पैकेज जो कई प्लेटफॉर्मों पर WebSocket कनेक्शन स्थापित और प्रबंधित करने के लिए है। यह क्लाइंट और सर्वर के बीच रियल-टाइम संचार के लिए एक सुसंगत API प्रदान करता है, जो दोनों क्लाइंट और सर्वर-साइड इम्प्लीमेंटेशन का समर्थन करता है। उपयोग में आसान डिज़ाइन के साथ, यह Flutter ऐप्स और अन्य Dart प्रोजेक्ट्स में बिना किसी अतिरिक्त बॉयलरप्लेट के द्विदिशीय डेटा आदान-प्रदान की अनुमति देता है। लाइब्रेरी Dart टीम द्वारा बनाई गई है और Android, iOS, Web, macOS, Windows और Linux सहित सभी प्रमुख प्लेटफॉर्म का समर्थन करती है।

उपयोग

  • रियल-टाइम चैट एप्लिकेशन्स
  • लाइव डेटा स्ट्रीमिंग
  • ऑनलाइन गेमिंग
  • आईओटी उपकरण संचार
  • सिंक्रनाइज़ड डैशबोर्ड
  • सर्वर-भेजे गए इवेंट्स

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

  • प्लेटफॉर्म के अनुकूलता
  • संपर्क प्रबंधन के लिए सरल API
  • क्लाइंट और सर्वर दोनों के भूमिकाओं का समर्थन करता है
  • एम्बेडेड त्रुटि हैंडलिंग
  • स्वचालित पुनर्संबंध प्रयास
  • हल्का और कुशल

इनके लिए उपयुक्त

  • रियल-टाइम फीचर्स बना रहे डेवलपर्स
  • स्थायी कनेक्शन की आवश्यकता वाले ऐप्स
  • कम लेटेंसी अपडेट की आवश्यकता वाले प्रोजेक्ट
  • पूर्ण-स्टैक विकास के लिए डार्ट/फ्लटर का उपयोग करने वाली टीमें
  • कई प्लेटफॉर्म के लिए लक्षित एप्लिकेशन

विचार योग्य बातें

  • एक WebSocket सर्वर एंडपॉइंट की आवश्यकता होती है
  • संदेश सीरियलाइज़ेशन के लिए कस्टम लॉजिक की आवश्यकता हो सकती है
  • एकल HTTP अनुरोध के लिए उपयुक्त नहीं
  • प्रदर्शन नेटवर्क की स्थिति पर निर्भर करता है
  • प्रमाणीकरण और सुरक्षा को अलग-अलग हैंडल किया जाना चाहिए

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

Build Status

A composable, Future-based library for making HTTP requests.

package:http contains a set of high-level functions and classes that make it easy to consume HTTP resources. It's multi-platform, and supports mobile, desktop, and the browser.

Packages

Package Description Version
cronet_http An Android Flutter plugin that provides access to the Cronet HTTP client. pub package
cupertino_http A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System. pub package
flutter_http_example An Flutter app that demonstrates how to configure and use package:http. —
http A composable, multi-platform, Future-based API for HTTP requests. pub package
http2 A HTTP/2 implementation in Dart. pub package
http_client_conformance_tests A library that tests whether implementations of package:http's Client class behave as expected.
http_multi_server A dart:io HttpServer wrapper that handles requests from multiple servers. pub package
http_parser A platform-independent package for parsing and serializing HTTP formats. pub package
http_profile A library used by HTTP client authors to integrate with the DevTools Network View. pub package
ok_http An Android Flutter plugin that provides access to the OkHttp HTTP client and the OkHttp WebSocket API. pub package
web_socket Any easy-to-use library for communicating with WebSockets that has multiple implementations. pub package
web_socket_channel StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API. package issues
web_socket_conformance_tests A library that tests whether implementations of package:web_socket's WebSocket class behave as expected.

Contributing

If you'd like to contribute to any of these packages, see the Contributing Guide.

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 1 आइटम

  • web>=0.5.0 <2.0.0

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

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