wscat(1)
Communicate over websocket
SYNOPSIS
wscat
[,options/] ,(--listen <port> | --connect <url>)/
OPTIONS
- -h, --help
-
output usage information
- -V, --version
-
output the version number
- -l, --listen <port>
-
listen on port
- -c, --connect <url>
-
connect to a websocket server
- -p, --protocol <version>
-
optional protocol version
- -o, --origin <origin>
-
optional origin
- --host <host>
-
optional host
- -s, --subprotocol <protocol>
-
optional subprotocol
- -n, --no-check
-
Do not check for unauthorized certificates
- -H, --header <header:value>
-
Set an HTTP header. Repeat to set multiple. (--connect only)
- --auth <username:password>
-
Add basic HTTP authentication header. (--connect only)