[][src]Function grin_api::client::get_async

pub fn get_async<'a, T>(
    url: &'a str,
    api_secret: Option<String>
) -> ClientResponseFuture<T> where
    T: Deserialize<'de> + Send + 'static, 

Helper function to easily issue an async HTTP GET request against a given URL that returns a future. Handles request building, JSON deserialization and response code checking.