blob: f590fcc88a42b01d3dbc1cde7cfd72a0c568cc1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---@meta
---@class resty.websocket.server : resty.websocket
resty_websocket_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 resty_websocket_server:new(opts) end
return resty_websocket_server
|