HF RL Explorer

Task: Implement a WebSocket Client Library in Lua

Task: Implement a WebSocket Client Library in Lua: a task in Terminal-Lego-15k (Harbor dataset). Your task is to implement a WebSocket client library in pure Lua that can establish WebSocket connections, perform the WebSocket handshake, and send/receive messages according to the WebSocket protocol…

The task

Your task is to implement a WebSocket client library in pure Lua that can establish WebSocket connections, perform the WebSocket handshake, and send/receive messages according to the WebSocket protocol (RFC 6455).

Part of PrimeIntellect/Terminal-Lego-15k.