lpfcpServer
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.
Parameters
processor
The object containing the functions to be invoked with ExposedFunction annotation.
port
The port on which the server will listen to (default is 8080).
exceptionDetailsConfiguration
The configuration for the exception details to be included in the response (default is WrappedException.DetailsConfiguration.INCLUDE_ALL).