tii 0.0.6

A Low-Latency Web Server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Tii WebSocket is a crate which extends Tii Core with WebSocket support by hooking into the latter's `WebsocketHandler` trait. It handles the WebSocket handshake and framing protocol and provides a simple and flexible API for sending and receiving messages. Using Tii's generic `Stream` type, it supports drop-in TLS. It also has no dependencies in accordance with Tii's goals of being dependency-free.
//!
//! It provides both synchronous and asynchronous WebSocket functionality.

#![warn(missing_docs)]

mod message;
pub use message::*;
mod ws_stream;
pub use ws_stream::*;

mod frame;