MCPcopy Create free account
hub / github.com/compozy/agh / doRequest

Method doRequest

internal/cli/client.go:5484–5500  ·  view source on GitHub ↗
(
	ctx context.Context,
	method string,
	path string,
	query url.Values,
	requestBody any,
)

Source from the content-addressed store, hash-verified

5482}
5483
5484func (c *unixSocketClient) doRequest(
5485 ctx context.Context,
5486 method string,
5487 path string,
5488 query url.Values,
5489 requestBody any,
5490) (*http.Response, error) {
5491 return c.doRequestWithCredentials(
5492 ctx,
5493 method,
5494 path,
5495 query,
5496 requestBody,
5497 "",
5498 agentidentity.Credentials{},
5499 )
5500}
5501
5502func (c *unixSocketClient) doRequestWithCredentials(
5503 ctx context.Context,

Callers 5

DownloadSupportBundleMethod · 0.95
ResolveBridgeTargetMethod · 0.95
doJSONMethod · 0.95

Calls 1

Tested by 2