Package-level declarations


Link copied to clipboard
class CIOApplicationEngine(environment: ApplicationEnvironment, monitor: Events, developmentMode: Boolean, val configuration: CIOApplicationEngine.Configuration, applicationProvider: () -> Application) : BaseApplicationEngine

Engine that based on CIO backend

Link copied to clipboard
object EngineMain

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

Link copied to clipboard
typealias HttpRequestHandler = suspend ServerRequestScope.(request: Request) -> Unit

HTTP request handler function

Link copied to clipboard
class HttpServer(val rootServerJob: Job, val acceptJob: Job, val serverSocket: Deferred<ServerSocket>)

Represents a server instance

Link copied to clipboard
data class HttpServerSettings(val host: String = "", val port: Int = 8080, val connectionIdleTimeoutSeconds: Long = 45, val reuseAddress: Boolean = false)

HTTP server connector settings