2 مستودعات
Allows generated clients to inherit from a user-specified base class for customized instantiation.
Distinct from HTTP Client Implementations: Focuses on the inheritance mechanism for controlling the HTTP client's base behavior rather than a general implementation.
Explore 2 awesome GitHub repositories matching web development · Client Base Class Customization. Refine with filters or upvote what's useful.
NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and JSON schemas into clients, server stubs, and structured documentation. It enables the creation of type-safe client libraries and data transfer objects, as well as the generation of OpenAPI specifications by analyzing .NET controllers. The project supports contract-first API development by generating server controller stubs from specifications and offers dedicated TypeScript API integration to ensure type safety in frontend applications. It also provides tools for hosting intera
Enables generated clients to inherit from a specified base class to control how the underlying HTTP client is instantiated.
HTTParty هي مكتبة عميل HTTP لـ Ruby مصممة لبناء عملاء API قياسيين. تقوم بتجريد بدائيات الشبكة منخفضة المستوى إلى واجهة عالية المستوى، مما يسمح للمطورين بتغليف عناوين URI الأساسية وتكوينات الطلب داخل الفئات للحفاظ على تفاعلات متسقة مع خدمات الويب البعيدة. تقوم المكتبة بأتمتة تحويل بيانات استجابة الشبكة الخام إلى هياكل Ruby أصلية باستخدام نظام قائم على السجل يقوم بتحليل المحتوى بناءً على رؤوس الاستجابة. كما توفر آليات متخصصة لإرسال بيانات النموذج متعددة الأجزاء وبث الحمولات الكبيرة للحفاظ على كفاءة الذاكرة أثناء نقل الملفات. يغطي المشروع مجموعة واسعة من قدرات الشبكات، بما في ذلك تنفيذ عمليات HTTP القياسية، ونقل حمولة JSON، وإدارة اتصالات TLS الآمنة. يتضمن أدوات لمصادقة الطلب، وفك ضغط الاستجابة، وتسجيل حركة مرور الشبكة لأغراض تصحيح الأخطاء. توفر المكتبة أيضاً واجهة سطر أوامر للاستعلام عن خدمات الويب وعرض بيانات الاستجابة ككائنات مهيكلة.
Defines base URIs and default headers within classes to ensure consistent communication patterns.