NettyChannelInitializer
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
Constructors
Link copied to clipboard
fun 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)