Middleware API — Aquilia Documentation
Comprehensive guide and documentation for Middleware API in the Aquilia framework. View API reference, examples, and implementation patterns.
HTTP Client / Core API middleware.py Composable onion-model middleware layers for wrapping outbound HTTP request-response cycles. 1. Overview middleware.py handles request processing and response interception in an onion-like flow. 2. API Reference class HTTPClientMiddleware(ABC): @abstractmethod async def __call__( self, request: HTTPClientRequest, next_call: Callable[[HTTPClientRequest], Awaitable[HTTPClientResponse]], ) -> HTTPClientResponse )
Go to Homepage