26 个仓库
Middleware chains that intercept and transform HTTP requests and responses for custom behavior like logging or parsing.
Distinct from Request Middleware Pipelines: Distinct from Request Middleware Pipelines: focuses on HTTP-specific middleware for client-side request/response transformation, not general request processing.
Explore 26 awesome GitHub repositories matching web development · HTTP Middleware Pipelines. Refine with filters or upvote what's useful.
The AWS SDK for PHP is a software development kit that provides HTTP client classes for every supported Amazon Web Service, enabling PHP applications to send authenticated requests and receive structured, typed response objects. It includes a credential resolution chain that automatically locates credentials from environment variables, instance profiles, or configuration files, and supports promise-based asynchronous execution for running multiple API calls concurrently to improve throughput. The SDK distinguishes itself through a middleware pipeline architecture that allows interception and
Intercepts and modifies requests and responses through a middleware pipeline for custom client behavior.
Iron is a Rust web framework used for building concurrent web applications and APIs. It functions as a concurrent HTTP server and provides a stateless route dispatcher to map incoming URL paths and globs to specific handler functions. The project is centered around a middleware-based request pipeline, which allows the request-response cycle to be extended via plugins and modifiers. It utilizes a thread-safe state container to store shared application memory accessible across all concurrent handlers and middleware. The framework covers broad capability areas including dynamic API routing, sta
Features a middleware pipeline that intercepts and transforms HTTP requests and responses via pluggable components.
Faraday is an HTTP client library for Ruby that sends requests and processes responses through a middleware pipeline with pluggable adapters. Its core identity is built around a middleware-pipeline architecture where HTTP requests and responses flow through a chain of components that can modify, log, or transform data before reaching the backend, combined with an adapter-based backend abstraction that delegates HTTP execution to interchangeable backends like Net::HTTP or Typhoeus. The library distinguishes itself through a parallel-execution engine that dispatches multiple HTTP requests concu
An extensible middleware stack that intercepts and transforms HTTP requests and responses for custom behavior.
Laravel Boilerplate is a pre-built admin panel and application scaffolding for Laravel that provides a complete backend foundation including user management, role-based permissions, and a CoreUI interface. It serves as a starting point for web application development by bundling essential administrative features into a single, ready-to-use package. The project distinguishes itself through a comprehensive identity management system that combines multi-language support across over 20 locales with two-factor authentication and user impersonation capabilities. Its role-based access control system
Processes HTTP requests through a chain of filter classes that handle authentication and session management.
This is a pre-built Laravel application scaffolding that provides a ready-to-use administration interface with user, role, and permission management out of the box. It serves as a foundation for building backend applications, offering an authorization system that assigns and restricts user actions through roles and permissions using a dedicated package. The boilerplate includes a multilingual interface with over 20 built-in language translations and timezone-aware date display for global audiences. It also provides a two-factor authentication implementation that adds an extra security layer d
Implements a demo mode middleware that restricts destructive actions and shows sample data for safe stakeholder demonstrations.
Swashbuckle.AspNetCore 是一个用于 ASP.NET Core 的 API 规范工具和文档生成器。它从源代码和模型中提取元数据,以生成标准化的 OpenAPI 规范和用于探索与测试 Web API 的交互式浏览器界面。 该项目集成了一个中间件组件来提供这些规范,以及一个用于直接从运行中的应用进行交互式 API 测试的 Swagger UI。它还提供了一个命令行导出器,用于从应用程序集中提取规范文件,以供 CI/CD 流水线使用。 该工具涵盖广泛的功能,包括复杂类型的模式管理、通过属性和 XML 注释进行的元数据标注,以及 OAuth 2.0 和 API 密钥的安全配置。它进一步支持 API 合约管理、规范版本控制以及用于过滤或修改操作的可定制生成流水线。
Integrates an interactive documentation interface directly into the request pipeline as embedded middleware.
Zend Framework is a comprehensive set of decoupled components for building modular, event-driven web applications. It implements an MVC architecture to separate business logic from the user interface and provides a structured request-handling system through a sequential middleware pipeline. The project features a factory-driven dependency injection container to automate object instantiation and manage class lifecycles. It also includes a comprehensive security suite for verifying user identities and restricting resource access using access control lists and role-based access control adapters.
Implements middleware pipelines using the PSR-7 standard to ensure compatibility between different components.
Oak 是一个跨运行时的 HTTP 中间件框架和 Web 服务器,旨在跨 Deno、Node.js、Bun 和 Cloudflare Workers 运行。它提供了一个统一的系统,通过中间件函数的顺序链和分层路由引擎来构建 API 和 Web 服务器,该引擎通过嵌套树结构将 URL 路径映射到处理程序。 该框架包括一个与运行时无关的无服务器适配器,可将不同的云提供商事件转换为标准的请求和响应接口。它还具有专用的 WebSocket 服务器实现,用于双向实时通信,以及一个利用异步 Cookie 签名和持久存储的 Web 会话管理器。 该项目涵盖了广泛的服务器功能,包括静态文件服务、内容协商和多部分数据解析。其安全和观测能力包括用于验证 JSON Web Token、配置安全标头、记录 HTTP 流量以及模拟应用程序请求以进行测试的工具。
Provides a sequential chain of middleware functions to process and transform incoming HTTP requests.
Wretch 是一个可链式的 HTTP 客户端库与 Fetch API 封装器,旨在简化网络请求配置、响应解析与错误处理。它作为网络请求管理器与中间件框架,用于管理 HTTP 调用的端到端生命周期。 该项目以用于请求配置的流畅接口与模块化扩展系统而著称。它利用可编程的响应解析器来自动化解析,并利用插件式架构为请求与响应对象添加新能力。 该库涵盖了广泛的运营能力,包括带有指数退避的自动请求重试、响应缓存与请求去重。它提供了用于动态负载序列化、响应模式验证的工具,以及用于全局数据转换与请求监控的中间件流水线。安全特性包括基础认证支持与自动令牌刷新。 该库支持自定义 fetch 实现,以确保在不同环境下的兼容性。
Implements a middleware system for extending request and response logic through modular add-ons and programmable pipelines.
Rack 是一个标准化 Ruby Web 服务器与框架之间通信的最小接口。它提供了一个 Web 应用接口和一个 Web 服务器接口,通过使用通用的环境哈希和标准化的响应元组,使 Ruby 应用能够在不同的服务器实现上运行。 该项目实现了模块化的 HTTP 中间件流水线,允许通过一系列可调用对象拦截和修改请求与响应。它支持底层连接管理,包括用于自定义协议处理的 TCP 连接劫持、协议升级信号以及双向数据流。 其功能范围扩展到请求和响应处理,包括二进制请求流读取和增量响应流式传输。它提供了用于会话管理、应用路径路由以及从本地文件系统交付静态文件的工具。为了质量保证,它还包括用于模拟 HTTP 流量和服务器环境的实用程序。 该项目包含一个用于启动兼容 Web 服务器以托管应用的命令行工具。
Implements a modular pipeline of callable objects to intercept and modify HTTP requests and responses.
go-restful 是一个用于在 Go 中构建 RESTful Web 服务的框架。它作为一个管理 API 端点的工具包,提供了一个请求路由器,使用路径参数和自定义 URL 模式将传入的 HTTP 请求映射到处理函数。 该框架包括一个数据转换层,将 Go 结构转换为 JSON 或 XML 格式以用于请求和响应体。它还提供了一个将相关 Web 服务组织到容器中的系统,以管理端点前缀和共享配置。 该项目通过用于验证和身份验证的中间件过滤器,以及跨域资源共享(CORS)头的管理来涵盖请求生命周期管理。其他功能包括使用 gzip 或 deflate 的负载压缩,以及用于返回标准化错误响应的 panic 恢复中间件。
Provides HTTP middleware pipelines for intercepting and transforming request-response flows.
Tide 是一个用于 Rust 编程语言的异步 Web 服务器框架和 HTTP 工具包。它提供了一个系统,利用非阻塞 I/O 和异步运行时构建高并发网络应用程序和 REST API。 该框架以基于中间件的请求管道为核心,允许开发者通过可插拔的逻辑层拦截和处理 HTTP 请求与响应。它支持分层路由树,将端点组织成共享公共路径前缀和作用域中间件的嵌套组。 功能领域包括通过 WebSocket 和服务器发送事件 (SSE) 进行实时通信,以及通过静态文件服务和动态模板渲染进行内容交付。该框架还处理 JSON 负载、GraphQL 查询、多部分文件上传,以及全局应用程序状态和用户会话的管理。 安全性通过网络流量的 TLS 加密和受保护资源的身份验证提供支持。
Implements a pipeline of interceptors that process HTTP requests and responses for shared logic like logging and parsing.
req 是一个用于 Go 的可链式 HTTP 客户端库,旨在简化请求配置并将响应自动解码为结构体。它提供了一个流畅接口的请求构建器,允许开发者逐步定义请求属性并将 HTTP 逻辑封装到可重用的 API SDK 中。 该项目以 TLS 指纹模拟器为特色,该模拟器模仿浏览器网络签名以绕过机器人检测和爬虫过滤器。它还包括一个并发文件下载器,通过并行分段获取大型远程文件来提高传输速度。 该库涵盖了广泛的网络功能,包括用于集中式错误处理和遥测的可插拔中间件流水线、有状态 Cookie 管理和自动代理轮换。它支持各种身份验证方案、详细的网络性能测量和可自定义的请求重试逻辑。 它还提供用于 HTTP 响应模拟的实用程序,以便在没有远程服务器的情况下进行单元测试。
Provides a pluggable middleware pipeline for intercepting and transforming HTTP requests and responses.
本项目是一个 JavaScript 分析集成库和客户端事件收集器,旨在记录用户行为并通过统一接口将数据分发到多个第三方分析目的地。它作为一个客户数据平台,用于识别用户、管理特征,并将事件流路由到各种分析工具和数据仓库。 该库的独特之处在于其多目的地事件路由器和 HTTP 跟踪中间件,可在传输前拦截并修改事件负载。它实现了用于用户识别的身份管理原语、用于合并配置文件的身份别名,以及通过在顶级域名上存储标识符来实现跨子域名跟踪。 系统涵盖了广泛的功能,包括针对页面浏览、表单提交和链接点击的用户交互监控,以及通过 UTM 参数提取进行的营销活动跟踪。为保证可靠性,它利用事件请求批处理、基于本地存储的带指数退避的重试队列,以及浏览器 keepalive 标志,以确保页面重定向期间的数据捕获。 该库还支持针对限制 JavaScript 执行环境的跟踪像素,并提供集成 URL 混淆机制以防止请求被拦截。
Implements a middleware pipeline to modify event payloads and add custom headers before API transmission.
该仓库是使用 Go 语言 Gin 框架构建 Web 应用程序的实现模式、教程代码和实践示例的集合。它作为学习如何构建 Go Web 服务器的指南,特别侧重于将 URL 路径映射到处理函数以及管理请求流。 该项目提供了中间件实现的演示,用于身份验证、日志记录和速率限制等任务。它还包括开发 REST API 的参考示例,重点在于结构化数据并向客户端发送 JSON 响应。
Implements middleware chains that intercept and transform HTTP requests for logging and authentication.
该仓库是 Koa Web 框架的参考实现和项目脚手架的集合。它提供了一套用于构建 Node.js Web 应用程序的样板和示例,包括具有数据库集成和容器化的预定义项目结构。 该项目演示了 REST API 的实现以及使用 HTTP 中间件模式来组合请求处理程序。它包括用于设计结构化端点和资源管理模式的实践指南。 提供的示例涵盖了广泛的功能,包括服务端渲染、通过服务器发送事件 (SSE) 进行实时数据流传输以及 Web 应用安全。这些包括用户身份验证管理和防止跨站请求伪造 (CSRF) 的实现。
Demonstrates the use of middleware chains to intercept and transform HTTP requests for session management and error propagation.
r2 是一个 JavaScript HTTP 客户端库和异步请求库,用于执行网络调用。它提供了一个运行时无关的网络层,抽象了底层的 HTTP 实现,以确保在不同的 JavaScript 执行环境中行为一致。 该库作为一个 JSON API 客户端,自动解析响应体并格式化输出的有效载荷。它利用基于 Promise 的接口来管理 HTTP 请求和响应的生命周期。 该项目涵盖了 REST API 集成和 HTTP 头部管理,允许用户将自定义键值对附加到输出请求中。它包括一个中间件风格的请求流水线,并根据 HTTP 头部进行内容协商,以处理数据序列化。
Provides middleware chains to intercept and transform HTTP requests and responses.
这是一个 Prometheus Python 客户端库,用于对 Python 应用程序进行插桩。它提供了在进程内记录计数器、仪表和直方图以监控应用健康状况,并将该数据作为 Prometheus 导出格式提供程序所需的工具。 该库通过允许开发者定义自定义遥测并跟踪内部应用事件,实现了云原生可观测性。它将内部应用数据转换为 Prometheus 抓取器收集所需的标准化文本格式。 该项目涵盖了多种监控和可观测性能力,包括使用基于标签的维度映射进行过滤,以及通过 HTTP 端点实现基于拉取的指标暴露。它利用线程安全的全局注册表和原子计数器,确保跨多个应用线程的一致跟踪。
Integrates with HTTP middleware pipelines to intercept requests and serve formatted metric snapshots.
gin-swagger 是 Gin Web 框架的 Swagger UI 中间件,作为 OpenAPI 2.0 文档生成器。它提供了一个交互式 REST API 沙盒和一个用于可视化 API 契约及测试端点的基于浏览器的界面。 该项目允许通过为每个定义分配唯一名称,在单个路由器上托管多个 API 定义。它支持自定义界面的视觉呈现和行为,包括控制展开深度和授权持久化。 该中间件拦截路由以 JSON 载荷形式交付 API 定义,并将 UI 所需的静态资产直接嵌入二进制文件中。它促进了交互式 API 测试,以通过 Web 浏览器验证请求和响应结构。
Implements middleware that hosts the Swagger UI directly within the Gin request pipeline.
这是一个使用 React 前端和 Node.js 后端构建的全栈 Web 应用程序。它作为一个实时消息传递平台,使用 Socket.io 在持久连接上实现用户之间的即时通信。 该应用集成了 AI 驱动的聊天机器人,为用户生成即时答案和支持。它还包含一个内容推荐引擎,建议相关帖子以提高发现率和参与度。 系统通过集中式数据库和 RESTful API 管理数据,同时利用 WebSockets 进行双向通信,并使用中间件流水线进行请求处理。
Utilizes an HTTP middleware pipeline for request processing, routing, and authentication.