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