https://github.com/swindon-rs/tk-http
Full featured HTTP and Websockets library for rust/tokio
https://github.com/swindon-rs/tk-http
http rust tokio websockets
Last synced: about 2 months ago
JSON representation
Full featured HTTP and Websockets library for rust/tokio
- Host: GitHub
- URL: https://github.com/swindon-rs/tk-http
- Owner: swindon-rs
- License: apache-2.0
- Created: 2016-09-23T15:45:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-28T19:10:46.000Z (about 7 years ago)
- Last Synced: 2025-10-09T09:39:19.750Z (4 months ago)
- Topics: http, rust, tokio, websockets
- Language: Rust
- Homepage:
- Size: 1.08 MB
- Stars: 135
- Watchers: 12
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
Tk-HTTP
=======
**Status: Beta**
[Documentation](https://docs.rs/tk-http) |
[Github](https://github.com/swindon-rs/tk-http) |
[Crate](https://crates.io/crates/tk-http)
A full-features asynchronous HTTP implementation for tokio-rs stack, including
websockets.
Features:
* HTTP 1.1 and 1.0 support (plans to support for HTTP/2 with same API)
* Flexible configuration of pipelining both for client and server
* Comprehensive configuration of timeouts both for client and server
* Strict parsing of few selected headers which influence security
* Other headers go unparsed to keep CPU usage low
* Minimum copies of data: i.e. you can decode JSON directly from network buffer
* Generic over transport (so can be used over TLS or unix sockets)
License
=======
Licensed under either of
* Apache License, Version 2.0,
(./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
------------
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.