Expand description
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§
- Module containing the default implementation of data frames.
- This file contains some framework-agnostic aspects of WebSocket HTTP headers.
- Module containing the default implementation for messages.
- The result type used within Rust-WebSocket
- Provides the default stream type for WebSocket connections.
- A module containing the traits and structs that lower layer of Rust-WebSocket is based on.