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

class WebSocketMiddleware(ABC): (source)

View In Hierarchy

Define a connection middleware resolved inside each WebSocket scope.

Async Method handle Inspect the handshake or wrap the connection handler.
Class Variable __slots__ Undocumented
@abstractmethod
async def handle(self, socket: WebSocket, call_next: WebSocketNext): (source)

Inspect the handshake or wrap the connection handler.

Parameters
socket:WebSocketConnection metadata and messaging API.
call_next:WebSocketNextSingle-use continuation for the next connection layer.
Returns
NoneAdvance the pipeline or reject the pending connection.
__slots__: tuple = (source)

Undocumented