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

pub async fn get_async<'_, T>(
    url: &'_ str,
    api_secret: Option<String>
) -> Result<T, Error> 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.