Sean McArthur f4694c7e82 Make default is_end_stream pessimistically return false (#15)
* Make default is_end_stream pessimistically return false

* Fix test to ensure no size hint will default to an ended stream

Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
2019-08-20 23:11:39 -04:00
2019-05-02 15:11:21 -07:00
2019-04-24 11:09:29 -07:00
2019-05-02 15:11:21 -07:00
2019-05-07 10:33:51 -07:00
2019-04-24 11:09:29 -07:00
2019-05-07 10:33:51 -07:00

HTTP Body

A trait representing asynchronous operations on an HTTP body.

Build Status

More information about this crate can be found in the crate documentation.

Usage

To use http-body, first add this to your Cargo.toml:

[dependencies]
http-body = "0.1.0"

Next, add this to your crate:

use http_body::Body;

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-body by you, shall be licensed as MIT, without any additional terms or conditions.

S
Description
表示HTTP Body 异步操作的trait
Readme MIT 178 KiB
Languages
Rust 100%