[−][src]Function nano_get::get_http
pub fn get_http<A: ToUrl>(url: A) -> String
The basic implementation of the HTTP GET method.
This can be called on anything that implements the ToUrl Trait.
This library provides implementation of the ToUrl trait for String, &str, URL and &URL.
This function returns the response body as a String.