List of all items
Structs
- frame::Frame
- frame::FrameParser
- handshake::HandshakeConfig
- handshake::HandshakeRequest
- handshake::HandshakeResponse
- message::BinaryMessage
- message::CloseMessage
- message::MessageAssembler
- message::PingMessage
- message::PongMessage
- message::TextMessage
- prelude::Bytes
- prelude::BytesMut
- transport::TransportConfig
- transport::tcp::TcpStream
- transport::tcp::TcpTransport
- transport::tls::TlsStream
- transport::tls::TlsTransport
Enums
- error::CloseCode
- error::CloseError
- error::ConfigError
- error::Error
- error::FrameError
- error::MessageError
- error::ProtocolError
- error::SecurityError
- error::TimeoutError
- frame::FrameKind
- message::Message
- message::MessageKind
- protocol::Opcode
Traits
- prelude::Archive
- prelude::AsyncRead
- prelude::AsyncReadExt
- prelude::AsyncWrite
- prelude::AsyncWriteExt
- prelude::Deserialize
- prelude::FuturesStream
- prelude::RkyvDeserialize
- prelude::RkyvSerialize
- prelude::Serialize
- transport::Transport
- transport::TransportStream
Derive Macros
- prelude::Archive
- prelude::Deserialize
- prelude::RkyvDeserialize
- prelude::RkyvSerialize
- prelude::Serialize
- prelude::ThisError
Functions
- handshake::compute_accept_key
- handshake::create_client_handshake
- handshake::create_server_handshake
- handshake::generate_key
- handshake::parse_client_handshake
- handshake::parse_server_handshake
- handshake::request_to_string
- handshake::response_to_string
- handshake::validate_client_handshake
- handshake::validate_key
- handshake::validate_server_handshake
- handshake::validate_version
- protocol::utils::calculate_accept
- protocol::utils::generate_key
- protocol::utils::is_valid_close_code
- protocol::utils::validate_key
- protocol::utils::validate_version
Type Aliases
Constants
- protocol::constants::DEFAULT_HANDSHAKE_TIMEOUT
- protocol::constants::DEFAULT_IDLE_TIMEOUT
- protocol::constants::DEFAULT_MAX_FRAME_SIZE
- protocol::constants::DEFAULT_MAX_MESSAGE_SIZE
- protocol::constants::HEADER_CONNECTION
- protocol::constants::HEADER_SEC_WEBSOCKET_ACCEPT
- protocol::constants::HEADER_SEC_WEBSOCKET_EXTENSIONS
- protocol::constants::HEADER_SEC_WEBSOCKET_KEY
- protocol::constants::HEADER_SEC_WEBSOCKET_PROTOCOL
- protocol::constants::HEADER_SEC_WEBSOCKET_VERSION
- protocol::constants::HEADER_UPGRADE
- protocol::constants::MAX_CLOSE_REASON_SIZE
- protocol::constants::MAX_HEADER_SIZE
- protocol::constants::MIN_CLOSE_PAYLOAD_SIZE
- protocol::constants::WEBSOCKET_ACCEPT_LEN
- protocol::constants::WEBSOCKET_KEY_LEN
- protocol::constants::WEBSOCKET_MAGIC
- protocol::constants::WEBSOCKET_VERSION
- protocol::extensions::CLIENT_CONTEXT_TAKEOVER
- protocol::extensions::CLIENT_MAX_WINDOW_BITS
- protocol::extensions::CLIENT_NO_CONTEXT_TAKEOVER
- protocol::extensions::PERMESSAGE_DEFLATE
- protocol::extensions::SERVER_CONTEXT_TAKEOVER
- protocol::extensions::SERVER_MAX_WINDOW_BITS
- protocol::extensions::SERVER_NO_CONTEXT_TAKEOVER
- protocol::frame::FIN_BIT
- protocol::frame::MASKING_KEY_LEN
- protocol::frame::MASK_BIT
- protocol::frame::OPCODE_MASK
- protocol::frame::PAYLOAD_LEN_16
- protocol::frame::PAYLOAD_LEN_64
- protocol::frame::PAYLOAD_LEN_MASK
- protocol::frame::RSV1_BIT
- protocol::frame::RSV2_BIT
- protocol::frame::RSV3_BIT
- protocol::http_header::ACCEPT
- protocol::http_header::AUTHORIZATION
- protocol::http_header::CONNECTION
- protocol::http_header::CONTENT_LENGTH
- protocol::http_header::CONTENT_TYPE
- protocol::http_header::COOKIE
- protocol::http_header::DATE
- protocol::http_header::HOST
- protocol::http_header::ORIGIN
- protocol::http_header::SEC_WEBSOCKET_ACCEPT
- protocol::http_header::SEC_WEBSOCKET_EXTENSIONS
- protocol::http_header::SEC_WEBSOCKET_KEY
- protocol::http_header::SEC_WEBSOCKET_PROTOCOL
- protocol::http_header::SEC_WEBSOCKET_VERSION
- protocol::http_header::SERVER
- protocol::http_header::SET_COOKIE
- protocol::http_header::UPGRADE
- protocol::http_header::USER_AGENT
- protocol::http_method::CONNECT
- protocol::http_method::DELETE
- protocol::http_method::GET
- protocol::http_method::HEAD
- protocol::http_method::OPTIONS
- protocol::http_method::PATCH
- protocol::http_method::POST
- protocol::http_method::PUT
- protocol::http_method::TRACE
- protocol::http_status::BAD_REQUEST
- protocol::http_status::FORBIDDEN
- protocol::http_status::INTERNAL_SERVER_ERROR
- protocol::http_status::METHOD_NOT_ALLOWED
- protocol::http_status::SERVICE_UNAVAILABLE
- protocol::http_status::SWITCHING_PROTOCOLS
- protocol::http_status::UNAUTHORIZED
- protocol::http_status::UPGRADE_REQUIRED
- protocol::http_value::APPLICATION_JSON
- protocol::http_value::APPLICATION_OCTET_STREAM
- protocol::http_value::CLOSE
- protocol::http_value::KEEP_ALIVE
- protocol::http_value::TEXT_PLAIN
- protocol::http_value::UPGRADE
- protocol::http_value::WEBSOCKET