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

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

shelf_proxy

एक शेल्फ हैंडलर जो HTTP अनुरोधों को दूसरे सर्वर पर प्रॉक्सी करता है।

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

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

flutter pub add shelf_proxy

पैकेज अवलोकन

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

Shelf Proxy एक Dart पैकेज है जो HTTP अनुरोधों को दूसरे सर्वर पर फ़ॉरवर्ड करने के लिए Shelf हैंडलर प्रदान करता है। यह डेवलपर्स को Flutter या Dart एप्लिकेशन में आसानी से प्रॉक्सी सर्वर बनाने की अनुमति देता है, न्यूनतम कॉन्फ़िगरेशन के साथ अनुरोध को रोकने और फ़ॉरवर्ड करने की अनुमति देता है। बैकएंड इंटीग्रेशन, API गेटवे पैटर्न या टेस्टिंग वातावरण के लिए आदर्श है, यह सभी प्रमुख प्लेटफॉर्म को सपोर्ट करता है जैसे मोबाइल, वेब और डेस्कटॉप। पैकेज Shelf इकोसिस्टम के साथ बिना किसी दिक्कत के एकीकृत होता है, आगमन अनुरोधों को संभालने और बाहरी सेवाओं के लिए रूट करने में लचीलापन प्रदान करता है।

उपयोग

  • API गेटवे कार्यान्वयन
  • परीक्षण और विकास प्रॉक्सी
  • बैकएंड सेवा एकीकरण
  • अनुरोध लॉगिंग और मॉनिटरिंग
  • क्रॉस-ओरिजिन अनुरोध प्रेषण

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

  • Shelf के साथ सरल एकीकरण
  • सभी डार्ट प्लेटफॉर्म का समर्थन करता है
  • कॉन्फ़िगरेबल लक्ष्य URLs
  • पारदर्शी अनुरोध/प्रतिक्रिया फॉरवर्डिंग
  • विस्तारयोग्य मध्यस्थ सुसंगतता

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

  • Shelf का उपयोग करने वाले बैकएंड विकासकर्मी
  • प्रॉक्सी लॉजिक की आवश्यकता वाले फुल-स्टैक फ्लटर ऐप्स
  • आवश्यक रूप से मांग के मार्गदर्शन वाले डेव/टेस्ट परिवेश
  • माइक्रोसर्विसेज संचार सेटअप
  • API मॉकिंग और डिबगिंग

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

  • नीचे के फेल्योर के लिए सही त्रुटि संभाल की आवश्यकता है
  • लक्ष्य सर्वर के आधार पर लेटेंसी शामिल हो सकती है
  • उत्पादन उपयोग के लिए सुरक्षित कॉन्फ़िगरेशन की आवश्यकता है
  • सीमित निर्मित प्रमाणीकरण तंत्र
  • CORS नीतियों को बाहरी रूप से प्रबंधित किया जाना चाहिए

मूल 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 आइटम

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

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