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

pub 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).