vertx / io.vertx.kotlin.core.http / Http2Settings

Http2Settings

fun Http2Settings(headerTableSize: Long? = null, initialWindowSize: Int? = null, maxConcurrentStreams: Long? = null, maxFrameSize: Int? = null, maxHeaderListSize: Long? = null, pushEnabled: Boolean? = null): Http2Settings

A function providing a DSL for building io.vertx.core.http.Http2Settings objects.

HTTP2 settings, the settings is initialized with the default HTTP/2 values.

The settings expose the parameters defined by the HTTP/2 specification, as well as extra settings for protocol extensions.

Parameters

headerTableSize - Set HTTP/2 setting.

initialWindowSize - Set the HTTP/2 setting

maxConcurrentStreams - Set the HTTP/2 setting

maxFrameSize - Set the HTTP/2 setting

maxHeaderListSize - Set the HTTP/2 setting

pushEnabled - Set the HTTP/2 setting