Package io.ktor.server.cio

Types

CIO

An ApplicationEngineFactory providing a CIO-based ApplicationEngine

CIOApplicationEngine

class CIOApplicationEngine : BaseApplicationEngine

Engine that based on CIO backend

DevelopmentEngine

object DevelopmentEngine

EngineMain

object EngineMain

Default development engine with main function that starts CIO engine using application.conf

HttpServer

class HttpServer

Represents a server instance

HttpServerSettings

data class HttpServerSettings

HTTP server connector settings

Extensions for External Classes

kotlinx.coroutines.CoroutineScope

Functions

httpServer

fun httpServer(
    settings: HttpServerSettings,
    parentJob: Job? = null,
    handler: HttpRequestHandler
): HttpServer
fun httpServer(
    settings: HttpServerSettings,
    parentJob: Job? = null,
    callDispatcher: <ERROR CLASS>?,
    handler: HttpRequestHandler
): HttpServer