twist 0.1.2

tokio-proto ServerProto and tokio-core Codec websocket implementation
Documentation

twist

A tokio-proto pipelined ServerProto and tokio-core Codec websocket implementation.

This can be used to serve up a tokio-service Service in a tokio-proto TcpServer (See twists for an example).

Note: Even though this is implemented as a pipeline protocol, fragmented websocket messages are supported, so streaming from a websocket client is supported.

Usage

Include the following in your Cargo.toml dependencies section

twist = "0.1.1"

TODO

Support extensions and subprotocol negotiation.

Documentation

Documentation

Example Usage

See the twists project for an example implementation of an echo server using twist.