NettyChannelInitializer
class NettyChannelInitializer(applicationProvider: () -> Application, enginePipeline: EnginePipeline, environment: ApplicationEnvironment, callEventGroup: EventExecutorGroup, engineContext: CoroutineContext, userContext: CoroutineContext, connector: EngineConnectorConfig, runningLimit: Int, responseWriteTimeout: Int, requestReadTimeout: Int, httpServerCodec: () -> HttpServerCodec, channelPipelineConfig: ChannelPipeline.() -> Unit, enableHttp2: Boolean) : ChannelInitializer<SocketChannel>
A ChannelInitializer implementation that sets up the default ktor channel pipeline
Constructors
Link copied to clipboard
constructor(applicationProvider: () -> Application, enginePipeline: EnginePipeline, environment: ApplicationEnvironment, callEventGroup: EventExecutorGroup, engineContext: CoroutineContext, userContext: CoroutineContext, connector: EngineConnectorConfig, runningLimit: Int, responseWriteTimeout: Int, requestReadTimeout: Int, httpServerCodec: () -> HttpServerCodec, channelPipelineConfig: ChannelPipeline.() -> Unit, enableHttp2: Boolean)