Skip to content

Instantly share code, notes, and snippets.

@yanxurui
Forked from higebu/test_websocket.sh
Created April 18, 2017 13:18
Show Gist options
  • Save yanxurui/ebd2e765d740e4fdaf2d9c5e391adb51 to your computer and use it in GitHub Desktop.
Save yanxurui/ebd2e765d740e4fdaf2d9c5e391adb51 to your computer and use it in GitHub Desktop.
Test WebSocket with curl
curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: echo.websocket.org" -H "Origin: https://www.websocket.org" https://echo.websocket.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment