createServer
Creates HTTP server
Importing
Type declaration
Parameters
parameter
definition
config
CreateServerConfig
CreateServerConfig
parameter
definition
listener
HttpListener
port
<optional> number
hostname
<optional> string
event$
<optional> HttpServerEffect
options
<optional> ServerOptions
dependencies
<optional> Array<BoundDependency<any>>
Returns
ServerIO<HttpServer>is
Example
Last updated