property
WebSocketHandler.maxPayloadLength
maxPayloadLength?: number
Sets the maximum size of a received message, in bytes, after decompression. Larger messages close the connection with code 1009.
An integer from 0 to 4294967295. Larger values are clamped. 0 means only empty messages are accepted.