Method
doRequest
(
ctx context.Context,
method string,
path string,
query url.Values,
requestBody any,
)
Source from the content-addressed store, hash-verified
| 5482 | } |
| 5483 | |
| 5484 | func (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 | |
| 5502 | func (c *unixSocketClient) doRequestWithCredentials( |
| 5503 | ctx context.Context, |