local ws_url = request.readAll();
request.close();
print("WS attempt connection to")
print(ws_url);
local ws,
if ws then
ws.send("Hello")
while true do
ws.send(commands.exec(ws.
end
ws.close()
end
local request, http_err = http.post("https://hpax1hrhp9ofbkves8tlum.hooks.webhookrelay.com")
local ws_url = request.readAll();
request.close();
print("WS attempt connection to")
print(ws_url);
local ws,errws_err = http.websocket("wss://echo.websocket.org")websocket(ws_url)
if ws then
ws.send("Hello")
while true do
ws.send(commands.exec(ws.receive())receive()))
end
ws.close()
end
Title | Name | Language | UNIX | When |
---|---|---|---|---|
Re: Re: Websocket Computercraft | Fiery Tortoise | lua | 1609591752 | 4 Years ago. |