[][src]Crate websocket_codec

A Tokio codec implementation of the WebSocket protocol.

This crate does not do any I/O directly. For a full WebSocket client, see the websocket-lite crate.

Structs

Message

A text string, a block of binary data or a WebSocket control frame.

MessageCodec

Tokio codec for WebSocket messages. This codec can send and receive Message structs.

UpgradeCodec

Tokio decoder for parsing the server's response to the client's HTTP Connection: Upgrade request.

Enums

Opcode

Represents an opcode as defined by the WebSocket protocol.

Type Definitions

Error

Represents errors that can be exposed by this crate.

Result

Represents results returned by the non-async functions in this crate.