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

Method SetHTTPClient

internal/cli/client.go:143–145  ·  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

141
142// SetHTTPClient sets the HTTP client used for API requests. Configure it before use.
143func (c *Client) SetHTTPClient(client *http.Client) {
144 c.httpClient = client
145}
146
147// ServerIdentity proves possession of the returned server key with a fresh challenge.
148// It sends no credentials, ignores cookie jars and refuses redirects and URL userinfo.

Calls

no outgoing calls