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 (--connect only)
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 (--connect only) (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 to a WebSocket server
set an HTTP header. Repeat to set multiple (--connect only) (default: [])
follow redirects (--connect only)
listen on port
do not check for unauthorized certificates
optional origin
optional protocol version
print a notification when a ping or pong is received
optional subprotocol (default: [])
wait given seconds after executing command
execute command after connecting
display help for command
November 2023 wscat 5.2.0