16 lines
465 B
Lua
16 lines
465 B
Lua
---@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 |