We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58b9b6b commit 7b46086Copy full SHA for 7b46086
bin/wscat
@@ -127,13 +127,6 @@ if (program.listen && program.connect) {
127
var wsConsole = new Console();
128
wsConsole.pause();
129
130
- var options = {};
131
-
132
- if (program.protocol) options.protocolVersion = program.protocol;
133
- if (program.origin) options.origin = program.origin;
134
- if (program.subprotocol) options.protocol = program.subprotocol;
135
- if (!program.check) options.rejectUnauthorized = program.check;
136
137
var ws = null;
138
var wss = new WebSocket.Server({ port: program.listen }, function listening() {
139
wsConsole.print('listening on port ' + program.listen + ' (press CTRL+C to quit)', Console.Colors.Green);
0 commit comments