NettyChannelInitializer

class NettyChannelInitializer : 
    ChannelInitializer<SocketChannel>

A ChannelInitializer implementation that does setup the default ktor channel pipeline

Constructors

<init>

NettyChannelInitializer(
    enginePipeline: EnginePipeline,
    environment: ApplicationEngineEnvironment,
    callEventGroup: EventExecutorGroup,
    engineContext: <ERROR CLASS>,
    userContext: <ERROR CLASS>,
    connector: EngineConnectorConfig,
    requestQueueLimit: Int,
    runningLimit: Int,
    responseWriteTimeout: Int,
    requestReadTimeout: Int,
    httpServerCodec: () -> HttpServerCodec)

A ChannelInitializer implementation that does setup the default ktor channel pipeline

Functions

initChannel

fun initChannel(ch: SocketChannel): Unit