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

पैकेज विवरणv3.0.0

shelf_web_socket

एक शेल्फ हैंडलर जो प्रत्येक कनेक्शन के लिए एक सुनने वाला बांधता है।

AndroidiOSmacOSWindowsLinux
30-दिन डाउनलोड
1.3 क॰
लाइक
158
Pub अंक
160

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

flutter pub add shelf_web_socket

पैकेज अवलोकन

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

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

उपयोग

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

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

  • Shelf के साथ निरंतर एकीकरण
  • प्रति-कनेक्शन लिस्टनर हैंडलिंग
  • प्लेटफॉर्म के अनुकूल समर्थन
  • सरल संदेश प्रसारण
  • एम्बेडेड कनेक्शन लाइफसाइकिल मैनेजमेंट

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

  • बैकएंड सेवाओं के लिए Shelf का उपयोग करने वाले विकासकर्मी
  • रियल-टाइम एप्लिकेशन डेवलपर्स
  • फुल-स्टैक Dart डेवलपर्स
  • सर्वर-पक्ष डार्ट प्रोजेक्ट्स
  • वेब और मोबाइल बैकएंड विकास

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

  • Shelf फ्रेमवर्क की समझ की आवश्यकता है
  • स्वतंत्र WebSocket सर्वर के लिए उपयुक्त नहीं
  • डार्ट-आधारित सर्वर परिस्थितियों तक सीमित
  • अतिरिक्त सुरक्षा उपायों की आवश्यकता हो सकती है
  • शेल्फ पैकेज संगतता पर निर्भर

मूल README

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

Build Status

About Shelf

Shelf makes it easy to create and compose web servers and parts of web servers. How?

  • Expose a small set of simple types.
  • Map server logic into a simple function: a single argument for the request, the response is the return value.
  • Trivially mix and match synchronous and asynchronous processing.
  • Flexibility to return a simple string or a byte stream with the same model.

It was inspired by Connect for NodeJS and Rack for Ruby.

See the package:shelf readme for more information.

Packages

Package Description Issues Version
shelf A model for web server middleware that encourages composition and easy reuse. issues pub package
shelf_packages_handler A shelf handler for serving a packages/ directory. issues pub package
shelf_proxy A shelf handler for proxying HTTP requests to another server. issues pub package
shelf_router A convenient request router for the shelf web-framework, with support for URL-parameters, nested routers and routers generated from source annotations. issues pub package
shelf_router_generator A package:build-compatible builder for generating request routers for the shelf web-framework based on source annotations. issues pub package
shelf_static Static file server support for the shelf package and ecosystem. issues pub package
shelf_test_handler A Shelf handler that makes it easy to test HTTP interactions. issues pub package
shelf_web_socket A shelf handler that wires up a listener for every connection. issues pub package
_shelf_compliance HTTP/1.1 compliance and hardening tests. issues (not published)

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

श्रेणियाँ

निर्भरताएँ

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

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

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

रैंकिंग