Configuration

Constructors

Link copied to clipboard
constructor()

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
Link copied to clipboard

If set to true, enables HTTP/2 protocol for Netty engine

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

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

Number of concurrently running requests from the same http pipeline

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Functions

Link copied to clipboard