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
Undocumented
| Async Method | boot |
Boot the HTTP kernel by initializing core components. |
| Method | disconnect |
Return static protocol endpoints requiring proactive cancellation. |
| Async Method | handle |
Handle an incoming ASGI HTTP request end-to-end. |
| Async Method | handle |
Handle an incoming RSGI HTTP request end-to-end. |
| Class Variable | __slots__ |
Undocumented |
overridden in
orionis.http.kernel.KernelHTTPBoot the HTTP kernel by initializing core components.
Resolve routes, initialize middleware stack, configure response adapters, and set up request printer for each protocol.
| Returns | |
None | Undocumented |
overridden in
orionis.http.kernel.KernelHTTPHandle an incoming ASGI HTTP request end-to-end.
Open a per-request scope, run global middleware, resolve the route, build the request object, invoke the handler, and send the response.
| Parameters | |
scope:dict | ASGI connection scope dict with request metadata. |
receive:object | ASGI receive callable for reading request body and events. |
send:object | ASGI send callable for sending response messages. |
| Returns | |
None | Undocumented |
async def handleRSGI(self, scope:
Scope, protocol: HTTPProtocol | WebsocketProtocol) -> object | None:
(source)
¶
overridden in
orionis.http.kernel.KernelHTTPHandle an incoming RSGI HTTP request end-to-end.
Open a per-request scope, run global middleware, resolve the route, build the request object, invoke the handler, and send the response.
| Parameters | |
scope:Scope | Granian RSGI scope object with connection metadata. |
protocol:HTTPProtocol | RSGI HTTP protocol object used to send the response. |
| Returns | |
object | None | The result of sending the RSGI response, or None on error. |