2 unstable releases

Uses old Rust 2015

0.1.0 May 29, 2019
0.0.0 Apr 24, 2019

#48 in #representing

Download history 654/week @ 2024-03-03 533/week @ 2024-03-10 252/week @ 2024-03-17 264/week @ 2024-03-24 266/week @ 2024-03-31 308/week @ 2024-04-07 258/week @ 2024-04-14 286/week @ 2024-04-21 225/week @ 2024-04-28 255/week @ 2024-05-05 266/week @ 2024-05-12 262/week @ 2024-05-19 194/week @ 2024-05-26 171/week @ 2024-06-02 169/week @ 2024-06-09 148/week @ 2024-06-16

716 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