Crate ws_framer

Crate ws_framer 

Source

Structs§

WsFrameHeader
Websocket frame header
WsRxFramer
Framer used to retrieve data (websocket frames and http responses)
WsTxFramer
Framer used to send data (websocket frames and http upgrade requests)
WsUrl
Struct that stores parsed websocket url result

Enums§

WsFrame
Websocket frame (packet) Stores reference to inner framer buffer

Functions§

process_sec_websocket_key
Changes key (input) that is retreived by server from Sec-WebSocket-Key into another string that is then sent by server as Sec-WebSocket-Accept header