api

http4k / org.http4k.cloudnative / Http4kK8sServer

Http4kK8sServer

class Http4kK8sServer : Http4kServer

A K8S server consists of a main application and a health application, running on 2 different ports. This class provides unified start/stop control.

Constructors

Name Summary
<init> A K8S server consists of a main application and a health application, running on 2 different ports. This class provides unified start/stop control.Http4kK8sServer(main: Http4kServer, health: Http4kServer)

Functions

Name Summary
healthPort fun healthPort(): Int
port fun port(): Int
start fun start(): Http4kServer
stop fun stop(): Http4kServer