2 unstable releases

Uses old Rust 2015

0.1.0 May 29, 2019
0.0.0 Apr 24, 2019

#18 in #aware

Download history 109/week @ 2024-11-15 93/week @ 2024-11-22 76/week @ 2024-11-29 110/week @ 2024-12-06 105/week @ 2024-12-13 38/week @ 2024-12-20 18/week @ 2024-12-27 74/week @ 2025-01-03 115/week @ 2025-01-10 95/week @ 2025-01-17 72/week @ 2025-01-24 117/week @ 2025-01-31 135/week @ 2025-02-07 118/week @ 2025-02-14 120/week @ 2025-02-21 67/week @ 2025-02-28

464 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.5MB
~23K SLoC