Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebHost

Sets up an HTTP server, and generates an MRE context for your app to use.

Hierarchy

  • WebHost

Index

Constructors

Accessors

Constructors

constructor

  • new WebHost(options?: object): WebHost
  • Parameters

    • Default value options: object = { baseDir: '.', baseUrl: null, port: 3901, logger: new NullLogger() }

    Returns WebHost

Accessors

adapter

baseDir

  • get baseDir(): string

baseUrl

  • get baseUrl(): string