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
Delegate requests while the embedded server awaits lifecycle hooks explicitly.
Granian invokes the proxy inside the debugger's existing event loop.
| Method | __init__ |
Retain the application serving embedded RSGI connections. |
| Async Method | __rsgi__ |
Forward a connection to its application handler. |
| Method | __rsgi |
Leave shutdown to the coroutine surrounding the embedded server. |
| Method | __rsgi |
Leave startup to the coroutine surrounding the embedded server. |
| Instance Variable | app |
Application receiving RSGI requests from the embedded server. |
Retain the application serving embedded RSGI connections.
| Parameters | |
app:IApplication | Application providing the RSGI request handler. |
| Returns | |
None | Store the application used to handle incoming RSGI connections. |
Leave shutdown to the coroutine surrounding the embedded server.
| Parameters | |
loop:asyncio.AbstractEventLoop | Running server loop. |
| Returns | |
None | Let the surrounding coroutine drain application resources. |
Leave startup to the coroutine surrounding the embedded server.
| Parameters | |
loop:asyncio.AbstractEventLoop | Running server loop. |
| Returns | |
None | Let the surrounding coroutine run application startup. |