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 WebSocketMessage: (source)
Retain an immutable message without copying its payload.
| Method | is |
Identify binary data. |
| Method | is |
Identify the terminal peer event. |
| Method | is |
Identify text data. |
| Class Variable | code |
Machine-readable status or error code. |
| Class Variable | data |
Decoded content carried by this message or request. |
| Class Variable | reason |
Human-readable reason associated with connection closure. |
| Class Variable | type |
Discriminator identifying the message or schema variant. |
| Property | bytes |
Return the original binary payload. |
| Property | text |
Return the original text payload. |