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)
Define a connection middleware resolved inside each WebSocket scope.
| Async Method | handle |
Inspect the handshake or wrap the connection handler. |
| Class Variable | __slots__ |
Declare that this class introduces no additional instance slots. |
Inspect the handshake or wrap the connection handler.
| Parameters | |
socket:orionis.http.WebSocket | Connection metadata and messaging API. |
callorionis.http.WebSocketNext | Single-use continuation for the next connection layer. |
| Returns | |
None | Advance the pipeline or reject the pending connection. |