Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
WebServer
Interface WebServer
Index
Properties
port
Methods
close
listen
Properties
public
port
:
number
Methods
public
close
(
)
public
listen
(
port
:
number
, cb
?:
(request: WebServerRequest, response: WebServerResponse) => void
)
:
boolean
Parameters
port:
number
cb?:
(request: WebServerRequest, response: WebServerResponse) => void
optional
Returns
boolean
public
listen
(
ipAddressPort
:
string
, cb
?:
(request: WebServerRequest, response: WebServerResponse) => void
)
:
boolean
Parameters
ipAddressPort:
string
cb?:
(request: WebServerRequest, response: WebServerResponse) => void
optional
Returns
boolean
Globals