- max-message-size #!optional numberparameter
The maximum allowed total message size. The default is 1MiB. If a frame will cause the max-message-size to be exceeded then its payload is not read and the connection is dropped immediately. This signals a message-too-large error.
The maximum message size supported by the current websockets implementation is 1GiB.