ORIONIS API REFERENCE

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

Write abstraction for sending an HTTP response over a protocol transport.

Decouples response-sending logic from the underlying server protocol, allowing the framework to operate against a single unified interface regardless of whether the server speaks ASGI or RSGI.

Async Method send Send the HTTP response using the underlying protocol transport.
Class Variable __slots__ Undocumented
async def send(self, adapter: TransportAdapter, response: Response, *args: object, **kwargs: object): (source)

Send the HTTP response using the underlying protocol transport.

Parameters
adapter:TransportAdapterTransport adapter containing request information used to inspect the HTTP method and headers.
response:ResponseResponse object to be serialised and sent back to the client.
*args:objectProtocol-specific positional arguments (e.g. ASGI send callable or RSGI HTTPProtocol instance).
**kwargs:objectProtocol-specific keyword arguments reserved for future use.
Returns
NoneSends the response via the protocol transport and returns nothing.