Document the new lower frame size limit.

This commit is contained in:
James Coglan
2013-12-28 16:56:15 +00:00
parent 0b089ad921
commit d343c7d21b
+1 -1
View File
@@ -174,7 +174,7 @@ The `options` argument is optional, and is an object. It may contain the
following fields:
* `maxLength` - the maximum allowed size of incoming message frames, in bytes.
The default value is `2^30 - 1`, or 1 byte short of 1 GiB.
The default value is `2^26 - 1`, or 1 byte short of 64 MiB.
* `protocols` - an array of strings representing acceptable subprotocols for
use over the socket. The driver will negotiate one of these to use via the
`Sec-WebSocket-Protocol` header if supported by the other peer.