Facebook
From Gentle Bird, 4 Years ago, written in Lua.
This paste is a reply to Re: Re: Re: Re: Re: Re: Websocket Computercraft from Gray Frog - view diff
Embed
Download Paste or View Raw
Hits: 126
  1. local ws, ws_err = http.websocket("wss://3da343fcd721.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 Websockets rss

Title Name Language When
Re: Websockets Queen Meerkat lua 4 Years ago.