.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3. .TH WSCAT "1" "May 2021" "wscat 4.0.1" "User Commands" .SH NAME wscat \- Communicate over websocket .SH SYNOPSIS .B wscat [\fI\,options\/\fR] \fI\,(--listen | --connect )\/\fR .SH OPTIONS .TP \fB\-V\fR, \fB\-\-version\fR output the version number .TP \fB\-l\fR, \fB\-\-listen\fR listen on port .TP \fB\-c\fR, \fB\-\-connect\fR connect to a WebSocket server .TP \fB\-p\fR, \fB\-\-protocol\fR optional protocol version .TP \fB\-o\fR, \fB\-\-origin\fR optional origin .TP \fB\-x\fR, \fB\-\-execute\fR execute command after connecting .TP \fB\-w\fR, \fB\-\-wait\fR wait given seconds after executing command .TP \fB\-P\fR, \fB\-\-show\-ping\-pong\fR print a notification when a ping or pong is received .TP \fB\-\-host\fR optional host .TP \fB\-s\fR, \fB\-\-subprotocol\fR optional subprotocol (default: []) .TP \fB\-n\fR, \fB\-\-no\-check\fR do not check for unauthorized certificates .TP \fB\-H\fR, \fB\-\-header\fR set an HTTP header. Repeat to set multiple (\fB\-\-connect\fR only) (default: []) .TP \fB\-\-auth\fR add basic HTTP authentication header (\fB\-\-connect\fR only) .TP \fB\-\-ca\fR specify a Certificate Authority (\fB\-\-connect\fR only) .TP \fB\-\-cert\fR specify a Client SSL Certificate (\fB\-\-connect\fR only) .TP \fB\-\-key\fR specify a Client SSL Certificate's key (\fB\-\-connect\fR only) .TP \fB\-\-passphrase\fR [passphrase] specify a Client SSL Certificate Key's passphrase (\fB\-\-connect\fR only). If you don't provide a value, it will be prompted for .TP \fB\-\-no\-color\fR run without color .TP \fB\-\-slash\fR enable slash commands for control frames (\fI\,/ping\/\fP, \fI\,/pong\/\fP, \fI\,/close\/\fP [code [, reason]]) .TP \fB\-\-proxy\fR <[protocol://]host[:port]> connect via a proxy. Proxy must support CONNECT method .TP \fB\-h\fR, \fB\-\-help\fR display help for command