WebSocketServer.MaxPayloadLength The maximum a payload can be in a frame. An application can set this to any value to prevent clients from sending unreasonably large messages.