Liveness

object Liveness : Function1<request: Request, Response>

The Liveness check is used to determine if an app is alive.

Functions

Link copied to clipboard
fun HttpHandler.asK8sServer(serverConfig: (port: Int) -> ServerConfig, env: Environment = ENV, healthApp: HttpHandler = Health()): Http4kK8sServer
fun HttpHandler.asK8sServer(serverConfig: (port: Int) -> ServerConfig, port: Int = 8000, healthApp: HttpHandler = Health(), healthPort: Int = 8001): Http4kK8sServer
Link copied to clipboard
Link copied to clipboard
open operator override fun invoke(request: request: Request): Response