WebConfiguration

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

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

Constructors

Link copied to clipboard
fun WebConfiguration(port: Int, host: String = "0.0.0.0")

Types

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

The port to use for hosting the main application.