89 const WS_GUID =
"258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
const WSCC_ProtocolError
"Protocol Error" code
Definition: WebSocketUtil.qm.dox.h:136
const WSCC_NormalClosure
Definition: WebSocketUtil.qm.dox.h:130
const WSCC_GoingAway
"Going Away" code
Definition: WebSocketUtil.qm.dox.h:133
const WSCCMap
maps from close codes to text descriptions
Definition: WebSocketUtil.qm.dox.h:166
const WSCC_AbnormalClosure
"Abnormal Closure" code
Definition: WebSocketUtil.qm.dox.h:145
const WSCC_UnsupportedData
"Unsupported Data" code
Definition: WebSocketUtil.qm.dox.h:139
const WSCC_NoStatusRcvd
"No Status Rcvd" code
Definition: WebSocketUtil.qm.dox.h:142
const WSCC_InvalidData
"Invalid Frame Payload Data" code
Definition: WebSocketUtil.qm.dox.h:148
const WSCC_MessageTooBig
"Message Too Big" code
Definition: WebSocketUtil.qm.dox.h:154
const WSCC_TlsHandshake
"TLS Handshake" code
Definition: WebSocketUtil.qm.dox.h:163
const WSCC_InternalServerError
"Internal Server Error" code
Definition: WebSocketUtil.qm.dox.h:160
const WSCC_MandatoryExt
"Mandatory Ext." code
Definition: WebSocketUtil.qm.dox.h:157
const WSCC_PolicyViolation
"Policy Violation" code
Definition: WebSocketUtil.qm.dox.h:151
const WSOP_Text
text frame opcode
Definition: WebSocketUtil.qm.dox.h:101
const WSOP_Binary
binary frame opcode
Definition: WebSocketUtil.qm.dox.h:104
const WSOP_Close
connection code opcode
Definition: WebSocketUtil.qm.dox.h:107
const WSOPMap
maps from opcodes to text descriptions
Definition: WebSocketUtil.qm.dox.h:116
const WSOP_Pong
pong opcode
Definition: WebSocketUtil.qm.dox.h:113
const WSOP_Ping
ping opcode
Definition: WebSocketUtil.qm.dox.h:110
const WSOP_Continuation
Definition: WebSocketUtil.qm.dox.h:98
the WebSocketUtil namespace contains all the definitions in the WebSocketUtil module
Definition: WebSocketUtil.qm.dox.h:78
string ws_get_response_key(string key)
returns a string response key from the binary key and the WebSocket GUID value
const WS_FIN
the final fragment in a message
Definition: WebSocketUtil.qm.dox.h:92
binary ws_encode_message(data msg, int op=-1, *bool masked, bool fin=True)
encodes a message for sending over a websocket socket
hash< WsMsgInfo > ws_read_message(Socket sock, *timeout to)
read and decode a message from a socket
const WS_GUID
WebSocket GUID.
Definition: WebSocketUtil.qm.dox.h:89
WebSocket message info.
Definition: WebSocketUtil.qm.dox.h:80