Struct algorithmia::client::HttpClient [] [src]

pub struct HttpClient {
    pub base_url: String,
    // some fields omitted
}

Internal HttpClient to build requests: wraps hyper client

Fields

Methods

impl HttpClient
[src]

Instantiate an HttpClient - creates a new hyper client

Helper to make Algorithmia GET requests with the API key

Helper to make Algorithmia GET requests with the API key

Helper to make Algorithmia POST requests with the API key

Helper to make Algorithmia PUT requests with the API key

Helper to make Algorithmia POST requests with the API key

Trait Implementations

impl Clone for HttpClient
[src]

Allow cloning in order to reuse http client (and API key) for multiple connections

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more