Expand description
frame codec impl
Structs§
- Bytes
Codec - recv/send bytes message
- Bytes
Recv - recv part of bytes message
- Bytes
Send - send part of bytes message
- Deflate
Codec - recv/send deflate message
- Deflate
Read State - deflate frame read state
- Deflate
Recv - recv part of deflate message
- Deflate
Send - send part of deflate message
- Deflate
Write State - deflate frame write state
- Frame
Codec - recv/send websocket frame
- Frame
Config - frame send/recv config
- Frame
Read State - websocket frame reader
- Frame
Recv - recv part of websocket stream
- Frame
Send - send part of websocket frame
- Frame
Write State - websocket writing state
- PMDConfig
- permessage-deflate
- Read
Stream Handler - helper struct to handle de stream
- String
Codec - recv/send text message
- String
Recv - recv part of text message
- String
Send - send part of text message
- Write
Stream Handler - helper struct to handler com stream
- ZLib
Compress Stream - zlib compress stream
- ZLib
DeCompress Stream
Enums§
- Validate
Utf8 Policy - text frame utf-8 checking policy
- Window
Bit - permessage-deflate window bit
Constants§
- CLIENT_
MAX_ WINDOW_ BITS - client_max_window_bits param
- CLIENT_
NO_ CONTEXT_ TAKEOVER - client_no_context_takeover param
- EXT_ID
- permessage-deflate id
- SERVER_
MAX_ WINDOW_ BITS - server_max_window_bits param
- SERVER_
NO_ CONTEXT_ TAKEOVER - server_no_context_takeover param
- ZLIB_
VERSION - zlib version
Traits§
- Split
- split something into two parts
Functions§
- apply_
mask - apply websocket mask to buf by given key
- default_
handshake_ handler - do standard handshake check and return response
- deflate_
handshake_ handler - permessage-deflate req handler