MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / NewHTTPClient

Function NewHTTPClient

lib/wptfyi/client.go:32–36  ·  view source on GitHub ↗

NewHTTPClient returns a HTTPClient that is used to communicate with wpt.fyi.

(hostname string)

Source from the content-addressed store, hash-verified

30
31// NewHTTPClient returns a HTTPClient that is used to communicate with wpt.fyi.
32func NewHTTPClient(hostname string) HTTPClient {
33 return HTTPClient{
34 hostname: hostname,
35 }
36}
37
38func (w HTTPClient) GetRuns(
39 _ context.Context,

Callers 1

TestGetRunsIntegrationFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestGetRunsIntegrationFunction · 0.68