createServer
Marble.j abstraction over Node.js server creation with additional features.
Importing
Type declaration
Parameters
parameter | definition |
config |
|
CreateServerConfig
parameter | definition |
httpListener |
|
port | <optional> |
hostname | <optional> |
event$ | <optional> |
options | <optional> |
dependencies | <optional> |
Returns
parameter | definitoin |
run |
|
info |
|
server |
|
ServerInfo
parameter | definitoin |
routing |
|
Example
index.ts
Last updated