Kweb Default Configuration
A default KwebConfiguration using runtime arguments
Constructors
Functions
Link copied to clipboard
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.
Link copied to clipboard
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
Link copied to clipboard
If Kweb.debug is enabled, then pages that take longer than buildpageTimeout to load will display a warning message
Link copied to clipboard
Link copied to clipboard
Clients that last connected more than clientStateTimeout will be cleaned up every minute.