Facebook
From Gray Frog, 4 Years ago, written in Lua.
This paste is a reply to Re: Re: Re: Re: Re: Websocket Computercraft from Tinct Lechwe - view diff
Embed
Download Paste or View Raw
Hits: 118
  1. local ws, ws_err = http.websocket("https://2cab5993273e.ngrok.io")
  2. if ws then
  3.   ws.send("Hello")
  4.   while true do
  5.         ws.send(commands.exec(ws.receive()))
  6.   end
  7.   ws.close()
  8. end

Replies to Re: Re: Re: Re: Re: Re: Websocket Computercraft rss

Title Name Language When
Websockets Gentle Bird lua 4 Years ago.