Skip to content

Commit 487fb26

Browse files
[docs] Add missing onlyBinaryUpgrades option in the docs (#510)
1 parent 7acae3d commit 487fb26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ Exposed as `eio` in the browser standalone build.
223223
(see [ws module](https://github.com/einaros/ws) api docs). Set to `false` to disable. (`true`)
224224
- `threshold` (`Number`): data is compressed only if the byte size is above this value. This option is ignored on the browser. (`1024`)
225225
- `extraHeaders` (`Object`): Headers that will be passed for each request to the server (via xhr-polling and via websockets). These values then can be used during handshake or for special proxies. Can only be used in Node.js client environment.
226+
- `onlyBinaryUpgrades` (`Boolean`): whether transport upgrades should be restricted to transports supporting binary data (`false`)
226227
- `send`
227228
- Sends a message to the server
228229
- **Parameters**

0 commit comments

Comments
 (0)