http¶
In std/io/net.
fn http(url: String, method: String = "GET", headers: Data = {:}) : Http
The HTTP resource at url, as an Http endpoint: method is the
request a write sends, "GET" unless given, and headers a map of
header names to values sent with every request. Constructing it sends
nothing.