pywebsocket
Simple websocket server library written in Python.
|
▼Npywebsocket | |
▼Ncustom_types | |
CControlFrame | ControlFrame Contains the constants that specifies the control frames |
CFrameType | FrameType Contains the constants that specifies the frame type |
▼Nexceptions | |
CCLOSE_CONNECTION | Raised when closing OPCODE detected |
CDATA_LENGTH_ERROR | Raised when length of data passed to WebsocketServer._encode_data is bigger than 0xFFFFFFFFFFFFFFFF |
▼CHANDSHAKE | Exceptions related with opening handshake |
CFIELD_VALUE_MISMATCH | Raised when a field's value doesn't match with expected value |
CHTTP_VERSION_ERROR | Raised when HTTP version doesn't match with requirements |
CINVALID_METHOD | Raised when invalid HTTP method detected |
CREQUIRED_FIELD_MISSING | Raised when request doesn't have required field |
CWEBSOCKET_VERSION_ERROR | Raised when client's websocket version doesn't supported by server |
CINVALID_METHOD | Raised when invalid method detected |
CINVALID_OPCODE | Raised when an invalid OPCODE detected |
CINVALID_SEND_METHOD | Raised when WebsocketServer.send_to_all receives an invalid send method as parameter |
CINVALID_SOCKET_ID | Raised when socket id is not in client socket list |
CMASK_ERROR | Raised when unmasked frame detected |
CUNKNOWN_OPCODE | Raised when an unknown OPCODE detected |
▼Nserver | |
CWebsocketClient | WebsocketClient Contains the variables for a client that connected to the server |
CWebsocketServer | WebsocketServer Simple Websocket Server |