websock-proto 0.3.0

Protocol-level primitives shared across websock transports.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Protocol-level primitives shared across websock transports.
//!
//! This crate remains intentionally small and transport-agnostic so the public
//! API stays consistent across native and WebAssembly targets.

mod error;
mod message;
mod options;

pub use bytes::Bytes;
pub use error::{Error, Result};
pub use message::{CloseFrame, Message};
pub use options::{ConnectOptions, ServerOptions, default_ws_alpn};