9 dépôts
Functions or middleware that process incoming requests and control the execution flow.
Explore 9 awesome GitHub repositories matching networking & communication · Request Handlers. Refine with filters or upvote what's useful.
Express is a minimalist web server framework that provides a foundational runtime environment for building backend web APIs and applications. It operates through a central application object that orchestrates the entire request-response lifecycle, allowing developers to define routes, manage server settings, and process incoming HTTP traffic. The framework is defined by its middleware-based routing engine, which sequences request handlers and logic blocks to process traffic based on path patterns and HTTP methods. This architecture supports a highly modular approach, enabling the creation of
Orchestrates sequences of callback functions to manage incoming web requests and control execution flow.
Axum is a web framework for the Rust programming language designed for building scalable and high-performance backend services. It provides a modular, asynchronous programming model that centers on a declarative routing engine, allowing developers to map HTTP requests to handler functions using a type-safe API. The framework distinguishes itself through a robust request extraction system that leverages trait-based reflection to automatically parse and validate incoming data into strongly typed function arguments. By utilizing a standardized service abstraction, it enables the composition of m
Links incoming requests to specific functions using a simple interface for defining endpoints.
Picasso is an Android image loading library designed for downloading, caching, and displaying images in applications. It provides an automated system for memory and disk management to reduce network requests and improve load times. The library includes a bitmap transformation tool for resizing, cropping, and modifying assets before they are rendered. It also functions as a bridge for Jetpack Compose, converting image requests into painter objects for use within declarative Android user interfaces. The system manages image retrieval from multiple sources, including web URLs, local files, and
Implements specialized handlers to decouple image sources from loading logic using different URI schemes.
Temporal is a distributed workflow orchestration engine designed to manage fault-tolerant, stateful, and long-running background processes. It functions as a platform for coordinating complex cross-service operations, ensuring consistency and reliability in distributed environments by decoupling workflow orchestration from task execution. The platform distinguishes itself through a deterministic, event-sourced execution model that reconstructs workflow state by re-executing code from an immutable event log. This approach isolates non-deterministic side effects into managed activities, allowin
Invokes generic handlers for workflows or signals when no specific named handler matches at runtime.
Proxygen is a collection of C++ libraries for building high-performance HTTP servers and clients. It provides a protocol parser that converts raw network bytes into high-level transaction objects and includes a network stack for processing web traffic over the QUIC transport protocol. The project implements a layered protocol abstraction and a QUIC-based transport integration to support multiple versions of the HTTP standard, including HTTP/3. It utilizes state-machine based parsing and an event-driven I/O loop to manage concurrent network connections. The library covers asynchronous buffer
Decouples protocol parsing from business logic by routing parsed transaction objects to user-defined handler classes.
TrustedProxy is an HTTP proxy trust manager and Laravel middleware designed to validate request headers and manage session consistency for applications operating behind load balancers or reverse proxies. It serves as a request environment handler that ensures secure client IP detection and accurate URL generation. The system prevents header spoofing by allowing the definition of trusted IP addresses and ranges. It validates that incoming requests originate from authorized intermediaries before modifying the request object to reflect the original client IP and protocol. The project covers tra
Acts as a request handler that dynamically updates the host and protocol based on proxy headers.
GCDWebServer is a lightweight HTTP 1.1 server for iOS, macOS, and tvOS. It serves as an embedded network server for Apple platforms, allowing developers to handle incoming requests through custom synchronous or asynchronous handlers. The project includes a WebDAV server implementation for remote file management, directory browsing, and synchronization using standard network clients. It also provides a web-based file manager that enables users to upload, download, and organize files within an application sandbox via a browser. Additional capabilities include gzip compression, JSON processing,
Allows developers to define custom handler functions that process incoming URLs and generate responses.
Zend Framework est un ensemble complet de composants découplés pour construire des applications web modulaires et pilotées par les événements. Il implémente une architecture MVC pour séparer la logique métier de l'interface utilisateur et fournit un système structuré de gestion des requêtes via un pipeline de middleware séquentiel. Le projet dispose d'un conteneur d'injection de dépendances piloté par des factories pour automatiser l'instanciation d'objets et gérer les cycles de vie des classes. Il inclut également une suite de sécurité complète pour vérifier les identités des utilisateurs et restreindre l'accès aux ressources en utilisant des listes de contrôle d'accès (ACL) et des adaptateurs de contrôle d'accès basé sur les rôles (RBAC). Le framework couvre un large éventail de capacités, incluant l'abstraction de base de données via des gateways de table et de ligne, des implémentations d'appels de procédure distante (RPC) pour SOAP et JSON-RPC, et un framework d'application console pour les interfaces en ligne de commande. La surface supplémentaire inclut la sérialisation de données, la validation d'entrée, la gestion de session et des outils pour l'envoi d'e-mails et l'internationalisation de contenu.
Provides request handlers to process incoming requests and control the execution flow.
koa2-note est un projet axé sur le développement de serveurs web Koa2 et la programmation asynchrone Node.js. Il fournit un framework pour construire des serveurs web et des API en utilisant un pipeline de middleware asynchrone pour gérer les cycles de requête et de réponse. Le projet met l'accent sur une architecture backend en couches qui découple le routage, les services métier et les modèles de données. Il se distingue par l'intégration de bases de données relationnelles pour la persistance des sessions utilisateur et des données d'application, ainsi qu'un processus de build incluant la compilation JSX-vers-JavaScript pour les assets frontend. La surface de capacités couvre la conception d'API backend, incluant le routage RESTful et l'analyse des données de requête, ainsi que le rendu côté serveur avec des moteurs de template. Il inclut également la prise en charge des téléchargements de fichiers asynchrones via l'analyse de flux multipart, la gestion de session par cookies et l'implémentation de JSONP pour les requêtes inter-domaines. Le dépôt sert de ressource éducative avec des tutoriels structurés et des exemples pour apprendre l'implémentation du framework Koa et l'architecture serveur.
Maps incoming request URLs to specific handler functions using routing middleware.