Configuration
class Configuration : Configuration
Configuration for the NettyApplicationEngine
Constructors
Configuration() Configuration for the NettyApplicationEngine |
Properties
var configureBootstrap: ServerBootstrap.() -> Unit User-provided function to configure Netty’s ServerBootstrap |
|
var httpServerCodec: () -> HttpServerCodec User-provided function to configure Netty’s HttpServerCodec |
|
var requestQueueLimit: Int Size of the queue to store ApplicationCall instances that cannot be immediately processed |
|
var requestReadTimeoutSeconds: Int Timeout in seconds for reading requests from client, “0” is infinite. |
|
var responseWriteTimeoutSeconds: Int Timeout in seconds for sending responses to client |
|
var runningLimit: Int Number of concurrently running requests from the same http pipeline |
|
var shareWorkGroup: Boolean Do not create separate call event group and reuse worker group for processing calls |
|
var tcpKeepAlive: Boolean If set to |