A Cloudflare worker that echos WebSocket messages back to you
Websocat is a handy CLI tool for interacting with WebSockets and is a nice way to play with this.
websocat wss://echo.zeb.workers.dev/
The connection is terminated 1 second after being accepted to prevent too much CPU time, I'm not made of money.