WebSocket Connection Using Command Line Tools
WebSocket Connection Using Command Line Tools: a task in Terminal-Lego-15k (Harbor dataset). You need to write a bash script that connects to a WebSocket server and reads responses. The original problem involves connecting to a cryptocurrency exchange WebSocket feed, but since curl does not…
The task
You need to write a bash script that connects to a WebSocket server and reads responses. The original problem involves connecting to a cryptocurrency exchange WebSocket feed, but since `curl` does not natively support WebSocket protocols (`ws://` or `wss://`), you must use an alternative approach.
Part of PrimeIntellect/Terminal-Lego-15k.