MCPcopy Index your code
hub / github.com/coder/coder / WithHTTPClient

Function WithHTTPClient

codersdk/client.go:697–701  ·  view source on GitHub ↗
(httpClient *http.Client)

Source from the content-addressed store, hash-verified

695}
696
697func WithHTTPClient(httpClient *http.Client) ClientOption {
698 return func(c *Client) {
699 c.HTTPClient = httpClient
700 }
701}
702
703func WithLogger(logger slog.Logger) ClientOption {
704 return func(c *Client) {

Callers 15

TestDERPForceWebSocketsFunction · 0.92
NewWithAPIFunction · 0.92
createAnotherUserRetryFunction · 0.92
TestWorkspaceAgentFunction · 0.92
TestTemplateEditFunction · 0.92
InitClientMethod · 0.92
TryInitClientMethod · 0.92
createHTTPClientMethod · 0.92
vscodeSSHMethod · 0.92

Calls

no outgoing calls