Type Alias twitch_api::client::Request

source ·
pub type Request = Request<Bytes>;
Available on crate feature client only.
Expand description

The request type we’re expecting with body.

Aliased Type§

struct Request { /* private fields */ }

Trait Implementations§

source§

impl<Buffer> RequestExt for Request<Buffer>where Buffer: Into<Body>,

§

type Error = Error

Error returned
source§

fn into_request_vec<'a>( self ) -> BoxedFuture<'a, Result<Request<Vec<u8>>, Self::Error>>

Return the body as a vector of bytes