Skip to content

Instantly share code, notes, and snippets.

@canthefason
Created July 22, 2014 08:44
Show Gist options
  • Save canthefason/bc76c94fef4b2d55493a to your computer and use it in GitHub Desktop.
Save canthefason/bc76c94fef4b2d55493a to your computer and use it in GitHub Desktop.
Curl websocket
curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: localhost:3001/ws" -H "Sec-Websocket-Key: hey" -H "Sec-Websocket-Version: 13" http://localhost:3001/ws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment