Scroll to navigation

WSCAT(1) User Commands WSCAT(1)


wscat - Communicate over websocket


wscat [options] (--listen <port> | --connect <url>)


-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 (default: true)
-H, --header <header:value>
Set an HTTP header. Repeat to set multiple. (--connect only) (default: )
--auth <username:password>
Add basic HTTP authentication header. (--connect only)
-h, --help
output usage information
April 2019 wscat 1.1.0