https://github.com/zebp/echo
A Cloudflare worker that echos WebSocket messages back to you
https://github.com/zebp/echo
Last synced: 9 months ago
JSON representation
A Cloudflare worker that echos WebSocket messages back to you
- Host: GitHub
- URL: https://github.com/zebp/echo
- Owner: zebp
- License: mit
- Created: 2022-02-10T20:58:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-10T21:28:40.000Z (almost 4 years ago)
- Last Synced: 2025-04-02T05:49:33.997Z (9 months ago)
- Language: TypeScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# echo
A Cloudflare worker that echos WebSocket messages back to you
## Try it out
[Websocat](https://github.com/vi/websocat) is a handy CLI tool for interacting with WebSockets and is a nice way to play with this.
```bash
websocat wss://echo.zeb.workers.dev/
```
### Note
The connection is terminated 1 second after being accepted to prevent too much CPU time, I'm not made of money.