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 HTTP(BaseEntity): (source)
Configure HTTP request handling and security.
| Parameters | |
| monitor | Cancel handlers proactively when a client disconnects. Defaults to False, executing handlers in the server task with direct body reads. External server cancellation still propagates in both modes. The application snapshots this setting during create(). |
| Method | __post |
Validate and coerce all composite fields. |
| Method | __validate |
Validate the cors field. |
| Method | __validate |
Validate the csrf field. |
| Method | __validate |
Validate the proxies field. |
| Method | __validate |
Validate the rate_limit field. |
| Method | __validate |
Validate the security field. |
| Class Variable | body |
Undocumented |
| Class Variable | cors |
Undocumented |
| Class Variable | csrf |
Undocumented |
| Class Variable | monitor |
Undocumented |
| Class Variable | proxies |
Undocumented |
| Class Variable | rate |
Undocumented |
| Class Variable | security |
Undocumented |
| Class Variable | websocket |
Undocumented |
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 |