summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/resty.websocket.server.lua
blob: c8f502a2c8b1ee5db887741801699707f5bf488b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---@meta

---@class resty.websocket.server : resty.websocket
local server = {
  _VERSION = "0.09"
}

---Performs the websocket handshake process on the server side and returns a WebSocket server object.
---
---In case of error, it returns nil and a string describing the error.
---@param  opts?                   resty.websocket.new.opts
---@return resty.websocket.server? server
---@return string?                 error
function server:new(opts) end

return server