[−][src]Trait ttv_rs::HttpClient
A client that can do requests
Associated Types
Loading content...Required methods
fn req(
&'a self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, Self::Error>> + 'a + Send, Global>>
&'a self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, Self::Error>> + 'a + Send, Global>>
Send a request
Implementations on Foreign Types
impl<'a> Client<'a> for Client
[src]
type Error = Error
pub fn req(
&'a self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, <Client as Client<'a>>::Error>> + 'static + Send, Global>>
[src]
&'a self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, <Client as Client<'a>>::Error>> + 'static + Send, Global>>
impl<'a> Client<'a> for Client
[src]
type Error = SurfError
pub fn req(
&'a self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, <Client as Client<'a>>::Error>> + 'static + Send, Global>>
[src]
&'a self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, <Client as Client<'a>>::Error>> + 'static + Send, Global>>