Scroll to navigation

WSCAT(1) User Commands WSCAT(1)

NAME

wscat - Communicate over websocket

SYNOPSIS

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

OPTIONS

output the version number
listen on port
connect to a WebSocket server
optional protocol version
optional origin
execute command after connecting
wait given seconds after executing command
print a notification when a ping or pong is received
optional host
optional subprotocol (default: [])
do not check for unauthorized certificates
set an HTTP header. Repeat to set multiple (--connect only) (default: [])
add basic HTTP authentication header (--connect only)
specify a Certificate Authority (--connect only)
specify a Client SSL Certificate (--connect only)
specify a Client SSL Certificate's key (--connect only)
specify a Client SSL Certificate Key's passphrase (--connect only). If you don't provide a value, it will be prompted for
run without color
enable slash commands for control frames (/ping, /pong, /close [code [, reason]])
connect via a proxy. Proxy must support CONNECT method
display help for command
May 2021 wscat 4.0.1