Function zng_task::http::get_txt

source ยท
pub async fn get_txt(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.