| //! npro-ws: websockets for npro, sans-IO.
//!
//! The port of C libwebsockets' ws role (`lib/sansio/ws`):
//!
//! - [`handshake`]: a server's checks of an upgrade request and its 101,
//! and a client's key, its request's upgrade lines and its checks of the
//! server's response;
//! - [`conn`]: a ws connection, either end, its frames in and out, and its
//! close.
#![no_std]
#![forbid(unsafe_code)]
pub mod conn;
pub mod handshake;
// admitted for permessage-deflate, which is to use it
#[cfg(feature = "pmd")]
use miniz_oxide as _;
|