[][src]Crate websocket_base

This is part of websocket crate that is independent from hyper. It contains code for processing WebSocket streams, (after HTTP upgrade already happened) WebSocket message definition, some error type.

For now it still optionally depends on futures 0.1 and tokio-io 0.1, but that's going to be extracted to a separate crate, if rust-websocket's depelopment continues.

Note that there is no normal example of usage so far. See usual websocket crate or alternative like tungstenite.

Re-exports

pub use crate::message::Message;
pub use crate::message::OwnedMessage;

Modules

codec
dataframe

Module containing the default implementation of data frames.

header

This file contains some framework-agnostic aspects of WebSocket HTTP headers.

message

Module containing the default implementation for messages.

result

The result type used within Rust-WebSocket

stream

Provides the default stream type for WebSocket connections.

ws

A module containing the traits and structs that lower layer of Rust-WebSocket is based on.