Preparing search index...
The search index is not available
Gink
Gink
Listener
Listener
Class Listener
Just a utility class to wrap websocket.server.
Index
Constructors
constructor
Properties
http
Server
index?
ready
static
Content
Root?
Methods
request
Listener
Constructors
constructor
new
Listener
(
args
:
{
index
?:
string
;
logger
?:
CallBack
;
port
?:
string
;
requestHandler
:
(
request
:
request
)
=>
void
;
requestListener
?:
(
request
:
IncomingMessage
,
response
:
ServerResponse
,
)
=>
void
;
sslCertFilePath
?:
string
;
sslKeyFilePath
?:
string
;
staticContentRoot
?:
string
;
}
,
)
:
Listener
Parameters
args
:
{
index
?:
string
;
logger
?:
CallBack
;
port
?:
string
;
requestHandler
:
(
request
:
request
)
=>
void
;
requestListener
?:
(
request
:
IncomingMessage
,
response
:
ServerResponse
,
)
=>
void
;
sslCertFilePath
?:
string
;
sslKeyFilePath
?:
string
;
staticContentRoot
?:
string
;
}
Returns
Listener
Properties
Readonly
http
Server
httpServer
:
Server
|
Server
Optional
Readonly
index
index
?:
string
ready
ready
:
Promise
<
any
>
Optional
Readonly
static
Content
Root
staticContentRoot
?:
string
Methods
request
Listener
requestListener
(
request
:
IncomingMessage
,
response
:
ServerResponse
)
:
void
Parameters
request
:
IncomingMessage
response
:
ServerResponse
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
http
Server
index
ready
static
Content
Root
Methods
request
Listener
Gink
Loading...
Just a utility class to wrap websocket.server.