WebConfiguration

data class WebConfiguration(val port: Int = 8080, val host: String = "0.0.0.0")

Configuration section used in the [tegral.web] section of the configuration file.

Constructors

Link copied to clipboard
constructor(port: Int = 8080, host: String = "0.0.0.0")

Properties

Link copied to clipboard

The hostname the main application will be bound to. 0.0.0.0 will be used by default and binds to all network interfaces.

Link copied to clipboard
val port: Int = 8080

The port to use for hosting the main application.