lpfcpServer() settings

You can access NettyApplicationEngine settings of an lpfcpServer() if your project has the original ktor-server-netty library as a dependency:

val server = lpfcpServer(processor = calculator, port = 8080)
        .start(wait = true)

// Gets NettyApplicationEngine instance of the server
val nettyApplicationEngine = server.engine

Last updated