11 个仓库
Mechanisms for defining sequential execution of handlers and middleware for specific HTTP paths.
Distinguishing note: Focuses on the fluent chaining of multiple handlers and middleware per path, distinct from simple route grouping.
Explore 11 awesome GitHub repositories matching web development · Request Handler Chains. Refine with filters or upvote what's useful.
Fiber is a high-performance web framework designed for building scalable HTTP services with minimal memory overhead. It provides a comprehensive runtime environment for managing the full request lifecycle, utilizing an optimized radix tree for high-speed route matching and an object pooling system to reduce garbage collection pressure during traffic processing. The framework distinguishes itself through its multi-process architecture, which supports prefork socket reuse to distribute incoming traffic across all available CPU cores. It offers a modular approach to application development, feat
The framework defines multiple HTTP method handlers for a single path in a single chain, including route-specific middleware that executes before the primary handler logic.
Envoy is a high-performance, cloud-native service proxy designed for service-to-service communication in distributed architectures. It functions as a service mesh data plane, providing a centralized mechanism for managing, securing, and observing network traffic between microservices. The project is distinguished by its ability to perform dynamic traffic management and configuration updates in real-time without requiring service restarts or downtime. It utilizes a non-blocking, event-driven architecture to handle high-concurrency connections and supports hot-restart process management, which
Executes custom logic modules in a sequential pipeline to inspect or modify request and response data.
Yaak is a cross-platform desktop client and command-line utility designed for developing, testing, and debugging API endpoints. It supports multi-protocol request execution for REST, GraphQL, and gRPC services, providing a unified environment for managing network interactions, authentication credentials, and automated testing workflows. The tool distinguishes itself through a local-first architecture that stores all workspace configurations and request definitions directly on the filesystem. This design enables native integration with version control systems like Git, allowing teams to track
Enables request chaining by connecting the output of one request to the input of another for complex sequences.
Drogon is a high-performance C++ HTTP web framework and asynchronous web server designed for building web applications and REST APIs. It utilizes an event-driven, non-blocking architecture to handle concurrent HTTP and WebSocket connections, and it implements a model-view-controller structure to separate business logic from presentation. The framework includes an integrated C++ object-relational mapping system and database client for performing asynchronous operations with relational databases and Redis key-value stores. It supports real-time, full-duplex communication via WebSockets and prov
Provides a filter-chain middleware system to execute unified logic like authentication before requests reach the final handler.
Drogon is a high-performance, cross-platform C++ framework designed for building asynchronous web services and server-side applications. It functions as a multi-threaded, event-driven server engine that manages concurrent network traffic and WebSocket connections with minimal latency. By leveraging non-blocking input/output and native code compilation, the framework provides a foundation for scalable applications that operate efficiently across diverse hardware architectures. The framework distinguishes itself through its compile-time template rendering, which transforms dynamic HTML views in
Executes reusable logic chains and middleware before incoming requests reach primary controller handlers.
Higress is an AI API gateway and cloud-native traffic manager that functions as a Kubernetes ingress controller. It provides a centralized system for routing, securing, and optimizing traffic directed toward large language models, AI agents, and microservice architectures. The project distinguishes itself through deep AI orchestration, including the ability to host and manage Model Context Protocol servers that transform REST APIs into tools for AI agents. It features specialized AI infrastructure for model request proxying, protocol translation across multiple providers, and semantic-based c
Triggers a sequence of dependent API calls where subsequent requests start within previous response callbacks.
这是一个专注于 Nginx 架构分析和模块开发的教育资源。它提供了一种结构化的方法来研究服务器如何处理流量以及如何自定义核心服务器行为。 该材料涵盖了用于创建自定义服务器扩展的 C 语言系统编程。它指导编写新模块并将其集成到服务器源代码中的过程,以实现专门的网络逻辑或自定义协议。 该课程检查内部服务器组件,包括内存池、请求处理链和基于模块的扩展系统。它详细介绍了内部架构以及使用底层数据结构来管理网络流量。
Implements a sequence of handler functions to process individual network requests.
Ion is an asynchronous HTTP client library for Android that handles network requests, JSON parsing, image loading, and file downloads. It provides a fluent builder pattern for constructing requests and supports automatic JSON deserialization into Java objects using Gson, along with in-memory image caching and multipart form-data encoding. The library distinguishes itself through its support for request cancellation via Future objects, allowing individual or bulk cancellation of in-flight requests to avoid wasted bandwidth and stale callbacks. It also includes proxy-aware request routing for d
Build HTTP requests and image loads using a sequential method-call syntax for readability.
JLRoutes 是一个 iOS URL 路由库和路由管理框架。它作为一个深度链接处理器,将 URL 模式映射到特定的代码块或对象处理器,以管理应用内的导航和深度链接。 该框架利用基于链的评估系统来处理潜在匹配序列,并支持将路由表组织成基于 URL 方案的不同集合。它允许通过自定义定义解析来替换标准匹配逻辑,以控制路径的解析方式。 该系统涵盖了 URL 模式映射、从路径段提取动态参数以及通配符路径捕获。它还包括用于基于协议的目标委托和注册可选路由段的功能。
Implements a chain of handlers where requests are passed to the next handler if the current one rejects a match.
Salvo 是一个全面的 Rust Web 框架,用于构建异步 HTTP 服务器和 Web 应用。它具有一个分层 Web 路由器(使用树状结构将请求映射到处理程序)和一个基于洋葱模型的异步中间件流水线(用于请求和响应的预处理和后处理)。 该框架以其对现代网络协议的原生支持而著称,包括基于 QUIC 的 HTTP/3 实现以及 HTTP/1 和 HTTP/2。它包括一个集成的 OpenAPI 文档生成器,可直接从处理程序签名中提取模式,以生成标准化的 API 规范和交互式界面。此外,它通过 ACME 集成提供自动 TLS 管理,以获取和续订安全证书。 该项目涵盖了广泛的功能,包括通过 WebSocket 和 WebTransport 进行的实时通信,以及带有请求代理和路径重写的 API 网关功能。它内置了对会话管理、类型安全参数提取以及通过 OpenTelemetry 集成进行可观测性的支持。内容交付通过静态文件服务和动态 HTML 模板处理。 提供了一个用于引导新项目结构的命令行工具。
Run a chain of middleware and handlers in order to allow logic deferral.
Jetty 是一个嵌入式 HTTP 服务器和 Java Web Servlet 容器,旨在处理传入的 Web 请求。它作为一个轻量级网络服务器,可以直接集成到 Java 应用程序或硬件设备中,为托管 Java Web 应用程序和 Servlet 提供运行时环境。 该项目实现了一个多协议 Web 服务引擎,支持 HTTP/1、HTTP/2 和 HTTP/3。它还包括一个用于客户端和服务器之间实时、全双工数据交换的 WebSocket 服务器实现,以及一个用于消费 Web 服务的 Java HTTP 客户端。 该服务器支持并排托管同一应用程序的多个版本,并提供将服务器组件嵌入到更大框架中以提供可扩展托管的能力。
Processes incoming network requests through a sequential chain of specialized handlers and middleware.