Function zng_task::http::get_text

source ·
pub async fn get_text(uri: impl TryUri) -> Result<Txt, Error>
Expand description

Send a GET request to the uri and read the response as a string.

The default_client is used to send the request.