Skip to main content

get

Function get 

Source
pub fn get(
    url: &str,
    headers: &[(&str, &str)],
) -> Result<HttpResponse, HttpError>
Expand description

GET url and read the whole body. Blocking: build-time resolvers are plain synchronous functions, parallelised with std::thread::scope when they need it.