2 unstable releases

Uses old Rust 2015

0.1.0 May 29, 2019
0.0.0 Apr 24, 2019

#50 in #representing

Download history 347/week @ 2024-03-14 246/week @ 2024-03-21 261/week @ 2024-03-28 314/week @ 2024-04-04 271/week @ 2024-04-11 280/week @ 2024-04-18 220/week @ 2024-04-25 265/week @ 2024-05-02 260/week @ 2024-05-09 260/week @ 2024-05-16 219/week @ 2024-05-23 172/week @ 2024-05-30 163/week @ 2024-06-06 163/week @ 2024-06-13 159/week @ 2024-06-20 113/week @ 2024-06-27

623 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