Kweb Configuration
A configuration class for Kweb parameterization. Extend this if you have custom needs on how to inject configuration values, otherwise KwebDefaultConfiguration is probably good enough for your use case
Please note this is not Kweb.Feature.Configuration, which is a Ktor specific config block
Constructors
Functions
Override the default favicon.ico behavior, which is to return with a 404. Passed a Ktor ApplicationCall which may be used to return whatever you wish.
Override this function to handle uncaught exceptions of client callbacks. E.g. if the browser sends a websocket message back to the kweb instance and the message handler throws an uncaught exception, kweb will invoke this exception handler to expose the fact that a message could not be properly handled
Properties
If Kweb.debug is enabled, then pages that take longer than buildpageTimeout to load will display a warning message
Clients that last connected more than clientStateTimeout will be cleaned up every minute.