MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / SetHTTPClient

Method SetHTTPClient

internal/cli/client.go:152–154  ·  view source on GitHub ↗

SetHTTPClient sets the HTTP client used for API requests. Configure it before use.

(client *http.Client)

Source from the content-addressed store, hash-verified

150
151// SetHTTPClient sets the HTTP client used for API requests. Configure it before use.
152func (c *Client) SetHTTPClient(client *http.Client) {
153 c.httpClient = client
154}
155
156// ServerIdentity proves possession of the returned server key with a fresh challenge.
157// It sends no credentials, ignores cookie jars and refuses redirects and URL userinfo.

Calls

no outgoing calls