Contents

maximumMessageSize

The maximum number of bytes to buffer before the receive call fails with an error.

Declaration

var maximumMessageSize: Int { get set }

Discussion

This value includes the sum of all bytes from continuation frames. Receive calls will fail once the task reaches this limit.

See Also

Sending and receiving data