Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raphael/wsc
A tiny command line websocket client written in Go
https://github.com/raphael/wsc
Last synced: 2 months ago
JSON representation
A tiny command line websocket client written in Go
- Host: GitHub
- URL: https://github.com/raphael/wsc
- Owner: raphael
- Created: 2016-03-09T05:10:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-26T20:03:38.000Z (about 7 years ago)
- Last Synced: 2024-05-02T00:26:06.354Z (8 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 51
- Watchers: 2
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```