Ktor

object Ktor

Types

Link copied to clipboard
class LPFCPServer(val embeddedServer: EmbeddedServer<NettyApplicationEngine, NettyApplicationEngine.Configuration>)

A class-wrapper that manages the lifecycle of a Netty-based server engine.

Functions

Link copied to clipboard
fun Route.lpfcp(processor: Any, path: String = "/lpfcp", exceptionDetailsConfiguration: WrappedException.DetailsConfiguration = WrappedException.DetailsConfiguration.INCLUDE_ALL)

Ktor route to handle LPFCP requests.

Link copied to clipboard
fun lpfcpServer(processor: Any, port: Int = 8080, exceptionDetailsConfiguration: WrappedException.DetailsConfiguration = WrappedException.DetailsConfiguration.INCLUDE_ALL): Ktor.LPFCPServer

Creates an embedded Ktor server to handle LPFCP requests. Has only one route - /lpfcp - endpoint for LPFCP protocol.