THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Define the base contract for all HTTP middlewares in the pipeline.
Middlewares are executed in a chain (onion model), where each middleware can inspect or modify the request, delegate to the next middleware in the chain, and inspect or modify the response.
| Async Method | handle |
Process an incoming HTTP request and delegate to next handler. |
| Class Variable | __slots__ |
Undocumented |
overridden in
orionis.http.BaseMiddlewareProcess an incoming HTTP request and delegate to next handler.
| Parameters | |
request:Request | Incoming HTTP request instance. |
callNextCallable | No-arg async callable that advances to the next middleware or final route handler in the pipeline. |
| Returns | |
Response | Final HTTP response object. |