From 8fefb8f3e100976235dc83d6ae3785952d11c710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 5 Jul 2021 20:51:43 +0800 Subject: cleanup --- meta/3rd/OpenResty/library/resty.websocket.server.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta/3rd/OpenResty/library/resty.websocket.server.lua (limited to 'meta/3rd/OpenResty/library/resty.websocket.server.lua') diff --git a/meta/3rd/OpenResty/library/resty.websocket.server.lua b/meta/3rd/OpenResty/library/resty.websocket.server.lua new file mode 100644 index 00000000..c9041a96 --- /dev/null +++ b/meta/3rd/OpenResty/library/resty.websocket.server.lua @@ -0,0 +1,13 @@ +---@meta +resty_websocket_server={} +function resty_websocket_server.send_text(self, data) end +function resty_websocket_server.new(self, opts) end +function resty_websocket_server.send_ping(self, data) end +function resty_websocket_server.set_timeout(self, time) end +function resty_websocket_server.send_binary(self, data) end +function resty_websocket_server.send_frame() end +function resty_websocket_server.recv_frame(self) end +function resty_websocket_server.send_close(self, code, msg) end +resty_websocket_server._VERSION="0.07" +function resty_websocket_server.send_pong(self, data) end +return resty_websocket_server \ No newline at end of file -- cgit v1.2.3