HttpServerSettings
class HttpServerSettings(val bindAddress: InetAddress = InetAddress.getLoopbackAddress(), val bindPort: Int = 2010, val protocol: HttpProtocol = HTTP, val sslSettings: SslSettings? = null, val zip: Boolean = false)
Holds server settings info.
Constructors
Link copied to clipboard
constructor(bindAddress: InetAddress = InetAddress.getLoopbackAddress(), bindPort: Int = 2010, protocol: HttpProtocol = HTTP, sslSettings: SslSettings? = null, zip: Boolean = false)
Properties
Functions
Link copied to clipboard
fun with(bindAddress: InetAddress = this.bindAddress, bindPort: Int = this.bindPort, protocol: HttpProtocol = this.protocol, sslSettings: SslSettings? = this.sslSettings, zip: Boolean = this.zip): HttpServerSettings