4 Repos
Thread-safe storage containers for sharing data across functions within a single request lifecycle.
Explore 4 awesome GitHub repositories matching networking & communication · Request Contexts. Refine with filters or upvote what's useful.
Flask is a micro web framework designed for building web services with a flexible, lightweight structure. It functions as a standard-compliant WSGI application server, providing the essential tools required to register URL routes, handle incoming HTTP requests, and construct responses. By utilizing a central application object, it allows developers to manage routing rules, template settings, and resource loading within a unified project environment. The framework distinguishes itself through a modular component architecture that enables the organization of routes, templates, and static files
Shares data across different functions during a single request lifecycle using a thread-safe namespace object that automatically clears after completion.
Koa is a lightweight web framework for Node.js designed for building HTTP applications and servers. It functions as an asynchronous middleware engine that processes network requests through a sequence of functions sharing a common context. The framework distinguishes itself by using an onion-model middleware stack and promise-based flow control. This architecture allows requests to flow downstream and responses to flow back upstream through the same chain, enabling non-blocking request cycles and a modular approach to handling network traffic. The system provides high-level capabilities for
Allows adding custom properties to the shared context object to make resources available across all middleware layers.
Sanic is an asynchronous Python web framework designed for building high-performance APIs and services. It operates as a production-ready ASGI web server, utilizing a non-blocking event loop to handle concurrent requests and maximize throughput. The framework is built to support scalable architectures, offering built-in worker process management to distribute traffic across available CPU cores. What distinguishes Sanic is its focus on modularity and developer-centric tooling. It features a blueprint-based system for organizing complex applications into pluggable components, alongside a robust
Maintains isolated data containers scoped to the lifetime of a single request.
Connexion ist ein spezifikationsgetriebenes Framework für den Bau von APIs, das OpenAPI-Spezifikationen automatisch auf Anwendungslogik abbildet. Es nutzt diese Spezifikationen, um Routing, Request-Validierung und Response-Serialisierung zu automatisieren und API-Operationen über Operations-IDs mit Backend-Handler-Funktionen zu verknüpfen. Das Projekt zeichnet sich dadurch aus, dass es einen schema-getriebenen Mock-Server bereitstellt, der API-Verhalten unter Verwendung von Beispielantworten aus der Spezifikation simuliert, ohne Backend-Logik zu erfordern. Es enthält zudem ein dynamisches Dokumentations-Hosting-System, das die API-Spezifikation in eine interaktive Live-Konsole zum Erkunden und Testen von Endpunkten übersetzt. Das Framework deckt breite Funktionsbereiche ab, einschließlich Sicherheitsdurchsetzung durch Middleware-basierte Authentifizierung und Scope-Validierung, austauschbare Request- und Response-Validierungslogik sowie automatisierte Parameter-Injektion in typisierte Funktionsargumente. Es bietet zudem Dienstprogramme für das Application-Lifespan-Management, Middleware-Integration und Request-Simulation für Tests. Das Projekt kann verwendet werden, um Standalone-Webanwendungen zu booten oder bestehende Frameworks zu umhüllen, um spezifikationsgetriebene Funktionen hinzuzufügen.
Provides thread-safe storage for sharing request-scoped data and matched operation metadata across functions.