Skip to content

Home > resol-vbus-core-toolbox-scripts > webserver > WebserverService

webserver.WebserverService interface

The service provided by the webserver script.

Signature:

typescript
export interface WebserverService

Properties

Property

Modifiers

Type

Description

app

Hono

The web server instance.

printUrls

boolean

Whether the list of URLs should be printed to the console after startup.

Methods

Method

Description

enableLogging()

Enable logging request URLs to the console.

setPort(port)

Set the TCP port number to listen on.