vi / websocat

Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
MIT License
6.74k stars 261 forks source link

No URL specified #90

Open mikeshultz opened 3 years ago

mikeshultz commented 3 years ago

When trying to connect to a service using a custom request header, I keep getting this:

websocat: No URL specified

Example nonsense command that triggers it:

websocat --header "header-name: asdf" wss://google.com

This is using the latest release

$ websocat --version
websocat 1.6.0
vi commented 3 years ago

A command-line arguments processing bug.

Workarounds: