Options
All
  • Public
  • Public/Protected
  • All
Menu

HttpServerFactory based on the native Node.js http module

Hierarchy

  • BaseHttpServerFactory

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private Readonly handler

handler: HttpHandler

The main HttpHandler

Protected Readonly logger

logger: Logger = ...

Methods

startServer

  • startServer(port: number): Server
  • Creates and starts an HTTP server

    Parameters

    • port: number

      Port on which the server listens

    Returns Server