Crate twist [] [src]

An implementation of the RFC6455 websocket protocol as a tokio Codec anda tokio-proto pipeline ServerProto

Basic Usage

use twist::proto::Frame;
use tokio_proto::TcpServer;

let ws_proto: Frame = Default::default();
let server = TcpServer::new(ws_proto, unenc_socket_addr);

Modules

frame

A websocket frame.

proto

A ServerProto implementation for the websocket protocol.