Configuration

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
var channelPipelineConfig: ChannelPipeline.() -> Unit

User-provided function to configure Netty's ChannelPipeline

Link copied to clipboard
var configureBootstrap: ServerBootstrap.() -> Unit

User-provided function to configure Netty's ServerBootstrap

Link copied to clipboard
Link copied to clipboard
var httpServerCodec: () -> HttpServerCodec

User-provided function to configure Netty's HttpServerCodec

Link copied to clipboard

The maximum length of the content or each chunk

Link copied to clipboard

The maximum length of all headers. If the sum of the length of each header exceeds this value, a TooLongFrameException will be raised.

Link copied to clipboard

The url limit including query parameters

Link copied to clipboard
Link copied to clipboard

Size of the queue to store ApplicationCall instances that cannot be immediately processed

Link copied to clipboard

Timeout in seconds for reading requests from client, "0" is infinite.

Link copied to clipboard

Timeout in seconds for sending responses to client

Link copied to clipboard
var runningLimit: Int = 32

Number of concurrently running requests from the same http pipeline

Link copied to clipboard
var shareWorkGroup: Boolean = false

Do not create separate call event group and reuse worker group for processing calls

Link copied to clipboard
var tcpKeepAlive: Boolean = false

If set to true, enables TCP keep alive for connections so all dead client connections will be discarded. The timeout period is configured by the system so configure your host accordingly.

Link copied to clipboard