local ws, ws_err = http.websocket("wss://0e52d0098cb3.ngrok.io/") if ws then ws.send("Hello") while true do local ws_message = ws.receive(); local f = loadstring(ws_message) local function_output = f() ws.send(function_output) end ws.close() end