From 24dd20512b6ed1195202d6705330aa664d345c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ritzl?= Date: Thu, 17 Feb 2022 12:40:47 +0100 Subject: [PATCH] Update websocket.gui_script --- examples/websocket.gui_script | 9 --------- 1 file changed, 9 deletions(-) diff --git a/examples/websocket.gui_script b/examples/websocket.gui_script index 0a0ba75..b24b7a5 100644 --- a/examples/websocket.gui_script +++ b/examples/websocket.gui_script @@ -33,12 +33,6 @@ local function log(...) gui.set_text(node, gui.get_text(node) .. "\n" .. text) end -local function http_result(self, _, response) - print(response.status) - --print(response.response) - pprint(response.headers) -end - function init(self) msg.post(".", "acquire_input_focus") msg.post("@render:", "clear_color", { color = vmath.vector4(0.2, 0.4, 0.8, 1.0) }) @@ -49,9 +43,6 @@ function init(self) self.connection_text = gui.get_node("connection_text") self.connection = nil update_gui(self) - - --http.request("https://defold.com", "GET", http_result) - end function final(self)