HttpServerUtils

Functions

Link copied to clipboard
fun create(port: Int, routing: Routing.() -> Unit = {}, receive: RpcReceiveService): EmbeddedServer<CIOApplicationEngine, CIOApplicationEngine.Configuration>

Creates an embedded server with WebSocket functionality, routing configuration, and RPC message handling.