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 HTTPWebSocket(BaseEntity): (source)
Configure connection admission, inbound messages and browser origins.
| Method | __post |
Validate limits and copy the configured origin collection. |
| Instance Variable | allow |
Additional allowed browser origins. Empty allows the same origin only. A wildcard explicitly allows every origin. |
| Instance Variable | max |
Maximum active connections per kernel; defaults to 128. |
| Instance Variable | max |
Maximum complete inbound message bytes; defaults to one MiB. |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |
Validate limits and copy the configured origin collection.
| Returns | |
None | Freeze the validated configuration. |
| Raises | |
TypeError | If limits or origin entries have invalid types. |
ValueError | If a limit is nonpositive or an origin is empty. |