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

Struct MaxRecvMsgSizeCallOption

rpc_util.go:418–420  ·  view source on GitHub ↗

MaxRecvMsgSizeCallOption is a CallOption that indicates the maximum message size in bytes the client can receive. # Experimental Notice: This type is EXPERIMENTAL and may be changed or removed in a later release.

Source from the content-addressed store, hash-verified

416// Notice: This type is EXPERIMENTAL and may be changed or removed in a
417// later release.
418type MaxRecvMsgSizeCallOption struct {
419 MaxRecvMsgSize int
420}
421
422func (o MaxRecvMsgSizeCallOption) before(c *callInfo) error {
423 c.maxReceiveMessageSize = &o.MaxRecvMsgSize

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected