Handles the initial setup of a server. Will capture all requests until setup is finished, this to prevent accidentally running unsafe servers.

GET requests will return the view template which should contain the setup information for the user. POST requests will be sent to the InteractionHandler. After successfully completing a POST request this handler will disable itself and become unreachable. All other methods will be rejected.

Hierarchy

Constructors

Properties

allowRootPod: boolean
logger: Logger = ...
storage: KeyValueStorage<string, boolean>
storageKey: string
templateEngine: TemplateEngine<Dict<any>>

Methods