MCPcopy Create free account
hub / github.com/cli/cli / ExternalHTTPClient

Method ExternalHTTPClient

internal/codespaces/api/api.go:1315–1317  ·  view source on GitHub ↗

ExternalHTTPClient returns an HTTP client for requests to non-GitHub hosts. It must not carry GitHub authentication credentials.

()

Source from the content-addressed store, hash-verified

1313// ExternalHTTPClient returns an HTTP client for requests to non-GitHub hosts.
1314// It must not carry GitHub authentication credentials.
1315func (a *API) ExternalHTTPClient() (*http.Client, error) {
1316 return a.externalClient()
1317}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected