KwebDefaultConfiguration

open class KwebDefaultConfiguration : KwebConfiguration

A default KwebConfiguration using runtime arguments

Constructors

KwebDefaultConfiguration
Link copied to clipboard
fun KwebDefaultConfiguration()

Functions

faviconIco
Link copied to clipboard
open suspend fun faviconIco(call: ApplicationCall)
Override the default robots.txt behavior, which is to return with a 404.
robotsTxt
Link copied to clipboard
open suspend fun robotsTxt(call: ApplicationCall)
Override the default robots.txt behavior, which is to return with a 404.
validate
Link copied to clipboard
fun validate()
Values are initialized eagerly, but objects are not, so be sure to "touch" this class on initialization for failing fast.

Properties

buildpageTimeout
Link copied to clipboard
open override val buildpageTimeout: Duration
If Kweb.
clientStateStatsEnabled
Link copied to clipboard
open override val clientStateStatsEnabled: Boolean
Enable stats for the client state cache.
clientStateTimeout
Link copied to clipboard
open override val clientStateTimeout: Duration
Clients that last connected more than clientStateTimeout will be cleaned up every minute.