Starts a WebSocket server that echoes back whatever clients send, great for testing WebSocket client code. The -s flag selects server mode with the given port. Connect from another terminal with websocat ws://127.0.0.1:1234/.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.