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)
| 459 | // in bytes the client can send. If this is not set, gRPC uses the default |
| 460 | // `math.MaxInt32`. |
| 461 | func 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. |
no outgoing calls