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

Method after

rpc_util.go:306–308  ·  view source on GitHub ↗
(_ *callInfo, attempt *csAttempt)

Source from the content-addressed store, hash-verified

304
305func (o TrailerCallOption) before(*callInfo) error { return nil }
306func (o TrailerCallOption) after(_ *callInfo, attempt *csAttempt) {
307 *o.TrailerAddr = attempt.transportStream.Trailer()
308}
309
310// Peer returns a CallOption that retrieves peer information for a unary RPC.
311// The peer field will be populated *after* the RPC completes.

Callers

nothing calls this directly

Calls 1

TrailerMethod · 0.65

Tested by

no test coverage detected