2 unstable releases

Uses old Rust 2015

0.1.0 May 29, 2019
0.0.0 Apr 24, 2019

#211 in #remote

Download history 175/week @ 2024-07-21 189/week @ 2024-07-28 166/week @ 2024-08-04 169/week @ 2024-08-11 158/week @ 2024-08-18 132/week @ 2024-08-25 146/week @ 2024-09-01 144/week @ 2024-09-08 143/week @ 2024-09-15 165/week @ 2024-09-22 150/week @ 2024-09-29 97/week @ 2024-10-06 142/week @ 2024-10-13 165/week @ 2024-10-20 102/week @ 2024-10-27 212/week @ 2024-11-03

630 downloads per month
Used in 5 crates (2 directly)

MIT license

5KB

HTTP Connection

A trait representing asynchronous HTTP connection.

Build Status

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