WSCAT(1)
π WSCAT(1) β the wscat girlies' guide π
okay so bestie, welcome to wscat, from the User Commands girlies β¨ This is the manual page for wscat, and yes it's giving websocket main character energy. π¦
πΈ NAME πΈ
wscat β communicate over websocket π¬β¨ no cap, that's literally the whole job.
π SYNOPSIS π
wscat [options] (--listen <port> | --connect <url>)
so likeβ¦ you're either listening or you're connecting. pick a lane, babe π (the parentheses are doing the "one of these, fr fr" thing).
β¨ OPTIONS β¨
okay this is the part you actually came for, so let's go option by option, no skipping, we don't do that here π«Ά
-V,--versionβ spits out the version number. that's it. that's the whole vibe. π--auth <username:password>β drops in a basic HTTP authentication header. username and password, colon between them, iconic little duo.--ca <ca>β point at a Certificate Authority. β¨ (--connectonly, so don't try this while listening, she won't hear you)--cert <cert>β hand over a Client SSL Certificate. π (--connectonly)--host <host>β an optional host. just in case you're feeling extra.--key <key>β specify a Client SSL Certificate's key. π (--connectonly)--max-redirects [num]β how many redirects are allowed, max. default is10, bestie. ten whole hops. π¦--no-colorβ run it with zero color. plain. minimalist. sad girl autumn aesthetic. π--passphrase [passphrase]β the passphrase for your Client SSL Certificate's key (--connectonly). π«’ and listen β if you don't give it a value, it's gonna prompt you for one. so it's not optional-optional, it's "you'll be asked" optional.--proxy <[protocol://]host[:port]>β connect through a proxy. π§ quick note, no cap: the proxy must support the CONNECT method. no CONNECT, no entry.--slashβ turns on slash commands for control frames:/ping [data],/pong [data],/close [code [, reason]]. so very Discord-core of it. π (--connectonly)-c,--connect <url>β connect to a WebSocket server. the whole point, honestly. π₯-H,--header <header:value>β set an HTTP header. repeat it to set multiple. (--connectonly) default:[]β an empty little list waiting for your headers to move in. π-l,--listen <port>β listen on a port. the other half of the "pick a lane" situation. π-L,--locationβ follow redirects. she follows. πΎ-n,--no-checkβ do not check for unauthorized certificates. (--connectonly) yes, that's the scary-but-convenient one. β οΈ you're turning off the vibe check, babe.-o,--origin <origin>β optional origin. just an origin. optional. π«-p,--protocol <version>β optional protocol version. π§¬-P,--show-ping-pongβ prints a lil notification whenever a ping or pong comes through. π (--connectonly)-s,--subprotocol <protocol>β optional subprotocol. repeat it if you want more than one. default:[]. the more the merrier, fr fr. π-w,--wait <seconds>β wait the given number of seconds after executing a command. β³ oh and-1means hold open. negative one holding the door open, so real of her.-x,--execute <command>β execute a command after connecting. repeat to execute more than one. (--connectonly) default:[]. π-h,--helpβ display help for command. the classic. always there for you. π
that's the whole page, bestie β nothing skipped, nothing summarised, all 21 options present and accounted for π«‘β¨
lowkey reminder: the--connectonly flags mean exactly that. don't be out here passing them to--listenand then acting surprised. π
and that's a wrap on the wscat manual page, written for version wscat 6.1.0, dated August 2026. π ty for reading, go forth and websocket, periodt. π
π¦ where this page comes from
- ubuntu stonking: node-ws 8.21.3+~cs14.19.1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms