MaxMsgSize returns a ServerOption to set the max message size in bytes the server can receive. If this is not set, gRPC uses the default limit. Deprecated: use MaxRecvMsgSize instead. Will be supported throughout 1.x.
(m int)
| 442 | // |
| 443 | // Deprecated: use MaxRecvMsgSize instead. Will be supported throughout 1.x. |
| 444 | func MaxMsgSize(m int) ServerOption { |
| 445 | return MaxRecvMsgSize(m) |
| 446 | } |
| 447 | |
| 448 | // MaxRecvMsgSize returns a ServerOption to set the max message size in bytes the server can receive. |
| 449 | // If this is not set, gRPC uses the default 4MB. |