pub trait HttpSend {
    // Required method
    fn send(&self, mathod: &str) -> RequestBuilder;
}

Required Methods§

source

fn send(&self, mathod: &str) -> RequestBuilder

let get = async move |url:&str|url.to_string().send("GET").await.unwrap().body_string().await.unwrap().print();

Implementations on Foreign Types§

source§

impl HttpSend for String

source§

fn send(&self, mathod: &str) -> RequestBuilder

Implementors§