KSlidesHttpServer

Handle for a running kslides HTTP server started via KSlides.startHttpServer.

Wraps the underlying Ktor server so that callers (e.g. the kslides-export module) do not need Ktor on their compile classpath. Closing the handle stops the server.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val port: Int

The port the server is bound to — the actual port when the server was started on port 0.

Functions

Link copied to clipboard
open override fun close()