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
add basic HTTP authentication header
specify a Certificate Authority (--connect only)
specify a Client SSL Certificate (--connect only)
optional host
specify a Client SSL Certificate's key (--connect only)
maximum number of redirects allowed (default: 10)
run without color
specify a Client SSL Certificate Key's passphrase (--connect only). If you don't provide a value, it will be prompted for
connect via a proxy. Proxy must support CONNECT method
enable slash commands for control frames (/ping [data], /pong [data], /close [code [, reason]]) (--connect only)
connect to a WebSocket server
set an HTTP header. Repeat to set multiple (--connect only) (default: [])
listen on port
follow redirects
do not check for unauthorized certificates (--connect only)
optional origin
optional protocol version
print a notification when a ping or pong is received (--connect only)
optional subprotocol. Repeat to specify more than one (default: [])
wait given seconds after executing command
execute command after connecting (--connect only)
display help for command
April 2025 wscat 6.0.1