Creates a new http-server instance.
The validator instance.
The config instance.
The logger instance.
The templater instance.
The assets instance.
The router instance.
The context factory instance.
StaticregisterRegisters the http-server as a singleton in the DI container.
The DI container to register in.
Native-based http-server implementation.
This server uses native Node.js
httpand WebSocketwsmodules to handle HTTP requests and WebSocket connections.Depends:
Example