MCPcopy Create free account
hub / github.com/cli/cli / callClientRequestPrepared

Function callClientRequestPrepared

internal/barista/observability/telemetry.twirp.go:1078–1083  ·  view source on GitHub ↗
(ctx context.Context, h *twirp.ClientHooks, req *http.Request)

Source from the content-addressed store, hash-verified

1076}
1077
1078func callClientRequestPrepared(ctx context.Context, h *twirp.ClientHooks, req *http.Request) (context.Context, error) {
1079 if h == nil || h.RequestPrepared == nil {
1080 return ctx, nil
1081 }
1082 return h.RequestPrepared(ctx, req)
1083}
1084
1085func callClientError(ctx context.Context, h *twirp.ClientHooks, err twirp.Error) {
1086 if h == nil || h.Error == nil {

Callers 2

doProtobufRequestFunction · 0.85
doJSONRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected