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

Function MaxCallSendMsgSize

rpc_util.go:461–463  ·  view source on GitHub ↗

MaxCallSendMsgSize returns a CallOption which sets the maximum message size in bytes the client can send. If this is not set, gRPC uses the default `math.MaxInt32`.

(bytes int)

Source from the content-addressed store, hash-verified

459// in bytes the client can send. If this is not set, gRPC uses the default
460// `math.MaxInt32`.
461func MaxCallSendMsgSize(bytes int) CallOption {
462 return MaxSendMsgSizeCallOption{MaxSendMsgSize: bytes}
463}
464
465// MaxSendMsgSizeCallOption is a CallOption that indicates the maximum message
466// size in bytes the client can send.

Callers 2

configDialMethod · 0.92

Calls

no outgoing calls

Tested by 2

configDialMethod · 0.74