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

Mark encoded protocol output to keep adaptation constant-time.

Method __init__ Keep preencoded bytes while emitting mandatory JSON response metadata.
Class Variable __slots__ Undocumented
def __init__(self, content: bytes, status_code: int = 200, headers: Mapping[str, str] | None = None, media_type: str = _JSON_MEDIA_TYPE): (source)

Keep preencoded bytes while emitting mandatory JSON response metadata.

Parameters
content:bytesValue supplied for content.
status_code:intValue supplied for status_code.
headers:Mapping[str, str] | NoneValue supplied for headers.
media_type:strValue supplied for media_type.
Returns
NoneComplete the documented operation without returning a value.
__slots__: tuple = (source)

Undocumented