Struct httpbis::Response[][src]

pub struct Response(pub HttpFutureSend<(Headers, HttpPartStream)>);

Convenient wrapper around async HTTP response future/stream

Methods

impl Response
[src]

Create a response with only headers

Create a response with headers and response body

Auto Trait Implementations

impl Send for Response

impl !Sync for Response