This crate is deprecated!
This crate is deprecated without an immediate replacement. Discussion about a successor can be found in tokio-rs/tokio#118.
tokio-proto
tokio-proto
makes it easy to implement clients and servers for request / response oriented protocols. It takes a transport and provides the request / response API. It is a part of the Tokio platform.
Documentation | Gitter | Tutorial
Usage
First, add this to your Cargo.toml
:
[dependencies]
tokio-proto = { git = "https://github.com/tokio-rs/tokio-proto" }
Next, add this to your crate:
extern crate tokio_proto;
You can find extensive examples and tutorials at https://tokio.rs.
Getting Help
If you have questions or need further help getting started, consider joining the chat in our Gitter Channel.
License
Tokio is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.