Trait async_web_client::RequestWithoutBodyExt

source ·
pub trait RequestWithoutBodyExt<'a>: Sized {
    // Required method
    fn send_with_client_config<B: IntoRequestBody + 'a>(
        &self,
        body: B,
        client_config: Arc<ClientConfig>
    ) -> RequestSend<'a> ;

    // Provided method
    fn send<B: IntoRequestBody + 'a>(&self, body: B) -> RequestSend<'a>  { ... }
}

Required Methods§

source

fn send_with_client_config<B: IntoRequestBody + 'a>( &self, body: B, client_config: Arc<ClientConfig> ) -> RequestSend<'a>

Provided Methods§

source

fn send<B: IntoRequestBody + 'a>(&self, body: B) -> RequestSend<'a>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> RequestWithoutBodyExt<'a> for Request<()>

source§

fn send_with_client_config<B: IntoRequestBody + 'a>( &self, body: B, client_config: Arc<ClientConfig> ) -> RequestSend<'a>

Implementors§