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

Define an invocation-scoped realtime endpoint with explicit remote methods.

Async Method onConnect Run connection initialization before the ready envelope is sent.
Async Method onDisconnect Run after connection-owned calls and registrations are released.
Class Variable __slots__ Undocumented
Class Variable clients Undocumented
Class Variable context Undocumented
Class Variable groups Undocumented
async def onConnect(self): (source)

Run connection initialization before the ready envelope is sent.

Returns
NoneA subclass may reject or initialize this connection.
async def onDisconnect(self, code: int, reason: str | None = None): (source)

Run after connection-owned calls and registrations are released.

Parameters
code:intObserved close code, or an abnormal closure when unavailable.
reason:str | None, optionalAvailable peer or local close reason.
Returns
NoneA subclass may release application-owned connection resources.
__slots__: tuple[str, ...] = (source)

Undocumented

Undocumented

Undocumented

Undocumented