pub trait HasHttpClient {
// Required methods
fn http_client(&self) -> &HttpClient;
fn base_url(&self) -> &'static str;
}Expand description
Trait for exchanges that can execute HTTP requests.
Required Methods§
Sourcefn http_client(&self) -> &HttpClient
fn http_client(&self) -> &HttpClient
Get reference to the HTTP client.