tokio-proto
Tokio is a network application framework for rapid development and highly scalable production deployments of clients and servers.
Usage
First, add this to your Cargo.toml
:
[]
= { = "https://github.com/tokio-rs/tokio-proto" }
Next, add this to your crate:
extern crate tokio_proto;
And then, use Tokio!
Getting Help
If you have questions or need further help getting started, consider joining the chat in our Gitter Channel.
Built with Tokio
An example of how to implement a client and server with Tokio. The
protocol consists of UTF-8 strings where messages are \n
terminated.
A Tokio HTTP server built on top of Hyper. Full Tokio integration is coming to Hyper in version 0.10.
A basic Redis client built with Tokio.
Related Articles
If you're interested in building with Tokio you may want to check out the following articles:
- Introduction to Futures which this crate is based on.
- Carl's Introduction to Tokio to the crate.
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.