websocat -t ws://localhost:3000/socket

Category: Web App Development

websocat -t ws://localhost:3000/socket

Connect to a WebSocket in explicit text mode

Connects while forcing messages to be sent as WebSocket text frames with the -t flag. This matters when the server distinguishes text from binary messages. Plain websocat already defaults to text, so use -t when you need to be explicit.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.