Expand description

websocket transport unit

Structs

borrowed data contains payload

owned header buf

frame header

mutable frame header

header for user p

a collection of immutable payload(vector of u8 slice)

Iterator of payload

a collection of mutable payload(vector of mutable u8 slice)

owned read framed, usually from read frame from stream

Enums

Defines the interpretation of the “Payload data”. If an unknown opcode is received, the receiving endpoint MUST Fail the WebSocket Connection. The following values are defined.