Skip to main content

http_get

Function http_get 

Source
pub fn http_get(
    at: SocketAddr,
    host: &str,
    path: &str,
) -> Result<(u16, String), String>
Expand description

One plain HTTP/1.0 GET (the metadata service speaks no TLS): the status and the body.