MCPcopy Create free account
hub / github.com/d0iasm/saba / new

Method new

net/std/src/http.rs:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21impl HttpClient {
22 pub fn new() -> Self {
23 Self {}
24 }
25
26 pub fn get(&self, host: String, port: u16, path: String) -> std::io::Result<HttpResponse> {
27 let ips = lookup_host(&host)?.into_iter();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected