get_txt

Function get_txt 

Source
pub async fn get_txt<U>(uri: U) -> Result<Txt, Error>
where U: TryInto<Uri>, Error: From<<U as TryInto<Uri>>::Error>,
Expand description

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

The http_client is used to send the request.