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. ✨ (--connect only, so don't try this while listening, she won't hear you)
  • --cert <cert> β€” hand over a Client SSL Certificate. πŸ’œ (--connect only)
  • --host <host> β€” an optional host. just in case you're feeling extra.
  • --key <key> β€” specify a Client SSL Certificate's key. πŸ”‘ (--connect only)
  • --max-redirects [num] β€” how many redirects are allowed, max. default is 10, 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 (--connect only). 🫒 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. πŸ’… (--connect only)
  • -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. (--connect only) 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. (--connect only) 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. πŸ“ (--connect only)
  • -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 -1 means 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. (--connect only) 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 --connect only flags mean exactly that. don't be out here passing them to --listen and 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