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 WebSocketStatus(IntEnum): (source)

View In Hierarchy

Enumerate WebSocket close status codes.

Constant ABNORMAL_CLOSURE Abnormal closure value used by WebSocketStatus.
Constant BAD_GATEWAY Bad gateway value used by WebSocketStatus.
Constant FORBIDDEN Forbidden value used by WebSocketStatus.
Constant GOING_AWAY Going away value used by WebSocketStatus.
Constant INTERNAL_ERROR Internal error value used by WebSocketStatus.
Constant INVALID_FRAME_PAYLOAD_DATA Invalid frame payload data value used by WebSocketStatus.
Constant MANDATORY_EXT Mandatory ext value used by WebSocketStatus.
Constant MESSAGE_TOO_BIG Message too big value used by WebSocketStatus.
Constant NO_STATUS_RCVD No status rcvd value used by WebSocketStatus.
Constant NORMAL_CLOSURE Normal closure value used by WebSocketStatus.
Constant POLICY_VIOLATION Policy violation value used by WebSocketStatus.
Constant PROTOCOL_ERROR Protocol error value used by WebSocketStatus.
Constant RESERVED Reserved value used by WebSocketStatus.
Constant SERVICE_RESTART Service restart value used by WebSocketStatus.
Constant TIMEOUT Timeout value used by WebSocketStatus.
Constant TLS_HANDSHAKE Tls handshake value used by WebSocketStatus.
Constant TRY_AGAIN_LATER Try again later value used by WebSocketStatus.
Constant UNAUTHORIZED Unauthorized value used by WebSocketStatus.
Constant UNSUPPORTED_DATA Unsupported data value used by WebSocketStatus.
ABNORMAL_CLOSURE: int = (source)

Abnormal closure value used by WebSocketStatus.

Value
1006
BAD_GATEWAY: int = (source)

Bad gateway value used by WebSocketStatus.

Value
1014
FORBIDDEN: int = (source)

Forbidden value used by WebSocketStatus.

Value
3003
GOING_AWAY: int = (source)

Going away value used by WebSocketStatus.

Value
1001
INTERNAL_ERROR: int = (source)

Internal error value used by WebSocketStatus.

Value
1011
INVALID_FRAME_PAYLOAD_DATA: int = (source)

Invalid frame payload data value used by WebSocketStatus.

Value
1007
MANDATORY_EXT: int = (source)

Mandatory ext value used by WebSocketStatus.

Value
1010
MESSAGE_TOO_BIG: int = (source)

Message too big value used by WebSocketStatus.

Value
1009
NO_STATUS_RCVD: int = (source)

No status rcvd value used by WebSocketStatus.

Value
1005
NORMAL_CLOSURE: int = (source)

Normal closure value used by WebSocketStatus.

Value
1000
POLICY_VIOLATION: int = (source)

Policy violation value used by WebSocketStatus.

Value
1008
PROTOCOL_ERROR: int = (source)

Protocol error value used by WebSocketStatus.

Value
1002
RESERVED: int = (source)

Reserved value used by WebSocketStatus.

Value
1004
SERVICE_RESTART: int = (source)

Service restart value used by WebSocketStatus.

Value
1012

Timeout value used by WebSocketStatus.

Value
3008
TLS_HANDSHAKE: int = (source)

Tls handshake value used by WebSocketStatus.

Value
1015
TRY_AGAIN_LATER: int = (source)

Try again later value used by WebSocketStatus.

Value
1013
UNAUTHORIZED: int = (source)

Unauthorized value used by WebSocketStatus.

Value
3000
UNSUPPORTED_DATA: int = (source)

Unsupported data value used by WebSocketStatus.

Value
1003