zng_task::http

Function get

source
pub async fn get(uri: impl TryUri) -> Result<Response, Error>
Expand description

Send a GET request to the uri.

The default_client is used to send the request.