[][src]Function krill::commons::util::httpclient::get_text

pub async fn get_text<'_, '_>(
    uri: &'_ str,
    token: Option<&'_ Token>
) -> Result<String, Error>

Performs a get request and expects a response that can be turned into a string (in particular, not a binary response).