Instance Propertygrpc-swift 2.0.0GRPCCore

maxResponseMessageBytes

The maximum allowed payload size in bytes for an individual response message.

MethodConfig.swift:103
var maxResponseMessageBytes: Int?

If a server attempts to send an object larger than this value, it will not be sent, and an error will be sent to the client instead. Note that 0 is a valid value, meaning that the response message must be empty.

Note that if compression is used the uncompressed message size is validated.