Package-level declarations
Types
Link copied to clipboard
object EngineMain
Netty engine
Link copied to clipboard
class EventLoopGroupProxy(val channel: KClass<out ServerSocketChannel>, group: EventLoopGroup) : EventLoopGroup
Transparently allows for the creation of EventLoopGroup's utilising the optimal implementation for a given operating system, subject to availability, or falling back to NioEventLoopGroup if none is available.
Link copied to clipboard
object Netty : ApplicationEngineFactory<NettyApplicationEngine, NettyApplicationEngine.Configuration>
An ApplicationEngineFactory providing a Netty-based ApplicationEngine
Link copied to clipboard
abstract class NettyApplicationCall(application: Application, val context: ChannelHandlerContext, requestMessage: Any) : BaseApplicationCall
Link copied to clipboard
class NettyApplicationEngine(environment: ApplicationEngineEnvironment, configure: NettyApplicationEngine.Configuration.() -> Unit = {}) : BaseApplicationEngine
ApplicationEngine implementation for running in a standalone Netty
Link copied to clipboard
abstract class NettyApplicationRequest(call: ApplicationCall, val coroutineContext: CoroutineContext, val context: ChannelHandlerContext, requestBodyChannel: ByteReadChannel, uri: String, keepAlive: Boolean) : BaseApplicationRequest, CoroutineScope
Link copied to clipboard
Link copied to clipboard
abstract class NettyApplicationResponse(call: NettyApplicationCall, context: ChannelHandlerContext, engineContext: CoroutineContext, userContext: CoroutineContext) : BaseApplicationResponse
Link copied to clipboard
class NettyChannelInitializer(enginePipeline: EnginePipeline, environment: ApplicationEngineEnvironment, callEventGroup: EventExecutorGroup, engineContext: CoroutineContext, userContext: CoroutineContext, connector: EngineConnectorConfig, requestQueueLimit: Int, runningLimit: Int, responseWriteTimeout: Int, requestReadTimeout: Int, httpServerCodec: () -> HttpServerCodec, channelPipelineConfig: ChannelPipeline.() -> Unit) : ChannelInitializer<SocketChannel>
A ChannelInitializer implementation that does setup the default ktor channel pipeline
Functions
Link copied to clipboard
Suspend until the future completion. Resumes with the same exception if the future completes exceptionally
Suspend until the future completion handling exception from the future using exception function
Link copied to clipboard
Suspend until the future completion. Wraps futures completion exceptions into ChannelWriteException