Skip to content

Commit 587ccf3

Browse files
refactor: remove the policyPort option
This option was used by the flash-websocket transport.
1 parent 9146a57 commit 587ccf3

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ Exposed as `eio` in the browser standalone build.
236236
transport request. Note: polling requests are always stamped unless this
237237
option is explicitly set to `false` (`false`)
238238
- `timestampParam` (`String`): timestamp parameter (`t`)
239-
- `policyPort` (`Number`): port the policy server listens on (`843`)
240239
- `path` (`String`): path to connect to, default is `/engine.io`
241240
- `transports` (`Array`): a list of transports to try (in order).
242241
Defaults to `['polling', 'websocket']`. `Engine`

lib/socket.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ class Socket extends Emitter {
6565
upgrade: true,
6666
jsonp: true,
6767
timestampParam: "t",
68-
policyPort: 843,
6968
rememberUpgrade: false,
7069
rejectUnauthorized: true,
7170
perMessageDeflate: {

0 commit comments

Comments
 (0)