MCPcopy
hub / github.com/grpc/grpc-go / before

Method before

rpc_util.go:237–237  ·  view source on GitHub ↗

before is called before the call is sent to any server. If before returns a non-nil error, the RPC fails with that error.

(*callInfo)

Source from the content-addressed store, hash-verified

235 // before is called before the call is sent to any server. If before
236 // returns a non-nil error, the RPC fails with that error.
237 before(*callInfo) error
238
239 // after is called after the call has completed. after cannot return an
240 // error, so any failures should be reported via output parameters.

Callers 2

newNonRetryClientStreamFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected