Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shadowy-pycoder/wsoding
WebSocket library
https://github.com/shadowy-pycoder/wsoding
autobahn go tsoding tsoding-streams websocket websocket-client websocket-server
Last synced: 15 days ago
JSON representation
WebSocket library
- Host: GitHub
- URL: https://github.com/shadowy-pycoder/wsoding
- Owner: shadowy-pycoder
- License: mit
- Created: 2024-12-21T18:34:56.000Z (30 days ago)
- Default Branch: main
- Last Pushed: 2024-12-29T17:12:55.000Z (22 days ago)
- Last Synced: 2024-12-29T18:20:21.857Z (22 days ago)
- Topics: autobahn, go, tsoding, tsoding-streams, websocket, websocket-client, websocket-server
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wsoding - [Tsoding's](https://github.com/tsoding) [c3ws](https://github.com/tsoding/c3ws) library translated to Go
> *Made it work for majority of the Autobahn Test Cases, so this project can be considered done (with extremely unfriendly API)*
## Echo Server
```bash
./build.sh
```In one terminal:
```shell
./build/echo_server
```In another terminal
```shell
./build/send_client 127.0.0.1 9001 "Hello, World"
```You can also connect to the server from a browser:
```shell
firefox ./tools/example_send_client.html
```## Autobahn Test Suite
```shell
docker run -it --rm --net=host \
-v ${PWD}/autobahn:/config \
-v ${PWD}/reports:/reports \
crossbario/autobahn-testsuite \
wstest -m fuzzingclient -s /config/fuzzingclient.json
``````shell
firefox ./reports/servers/index.html
```