2 unstable releases

Uses old Rust 2015

0.1.0 May 29, 2019
0.0.0 Apr 24, 2019

#50 in #representing

Download history 729/week @ 2024-01-01 684/week @ 2024-01-08 664/week @ 2024-01-15 714/week @ 2024-01-22 670/week @ 2024-01-29 641/week @ 2024-02-05 614/week @ 2024-02-12 567/week @ 2024-02-19 637/week @ 2024-02-26 657/week @ 2024-03-04 488/week @ 2024-03-11 247/week @ 2024-03-18 264/week @ 2024-03-25 266/week @ 2024-04-01 309/week @ 2024-04-08 264/week @ 2024-04-15

1,124 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