A tiny command line websocket client written in Go
Clone or download
raphael Merge pull request #4 from arangamani/master
Added ability to provide headers and origin.
Latest commit e6ff0dd Sep 12, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Mar 9, 2016
README.md
main.go Add usage info for new flags. Sep 11, 2017

README.md

wsc

A simplistic tool for sending and receiving websocket messages from a command line. Mainly useful to test websocket servers.

Getting started:

$ go get github.com/raphael/wsc
$ wsc -o http://websocket.org -H "Sample-Header-1: foo" -H "Sample-Header-2: bar" -u ws://echo.websocket.org
2016/03/08 22:51:51 connecting to ws://echo.websocket.org...
2016/03/08 22:51:52 ready, exit with CTRL+C.
foo 
>> foo
<< foo
^C
exiting