Create a new NodeJS HTTP server instance.
Wings router to handle requests
Optional
options: ServerOptions = {}Server options
Check if SSL/HTTPS mode is enabled.
True if server is running in HTTPS mode
Get current configuration options.
Configuration options
Get underlying HTTP server instance.
Node.js HTTP server
Protected
createProtected
handleStart server listening on port.
Port to listen on (0 for auto-assign)
Optional
host: string = "localhost"Host to bind to (default: 'localhost')
Optional
callback: (() => void) = ...Optional callback
Resolves when listening
Protected
sendProtected
Convert Wings Context to HTTP response.
Wings context with response data
HTTP response object
Base HTTP server class for Wings - NOT meant for direct use. This is a lightweight, fast base class with zero dependencies and strong test coverage. For development, use DevServer. For production, use ClusteredServer. Only extend this class when building custom server implementations.