pub async fn get_txt<U>(uri: U) -> Result<Txt, Error>where U: TryInto<Uri>, Error: From<<U as TryInto<Uri>>::Error>,
Send a GET request to the uri and read the response as a string.
uri
The http_client is used to send the request.
http_client