2 unstable releases
Uses old Rust 2015
0.1.0 | May 29, 2019 |
---|---|
0.0.0 | Apr 24, 2019 |
#50 in #representing
623 downloads per month
Used in 5 crates
(2 directly)
5KB
HTTP Connection
A trait representing asynchronous HTTP connection.
More information about this crate can be found in the crate documentation.
Usage
To use http-connection
, first add this to your Cargo.toml
:
[dependencies]
http-connection = "0.1.0"
Next, add this to your crate:
use http_connection::HttpConnection;
fn main() {
// ...
}
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in http-connection
by you, shall be licensed as MIT, without any additional
terms or conditions.
lib.rs
:
Asynchronous HTTP connection
This trait decorates an AsyncRead + AsyncWrite
connection stream/sink with HTTP
aware information like the connections HTTP version and the remote address.
Dependencies
~0.8–1.4MB
~22K SLoC