struct Http2Limits
source · line 28public
public struct Http2Limits(val headers: HttpHeaderLimits = HttpHeaderLimits(), val maxContinuations: Long = 8L, val maxSendHeaderBlockBytes: Long = 65536L, val maxPendingBodyBytes: Long = 65536L)
Positive local header, continuation, outgoing-header, and buffered-body limits. These are distinct from advertised HTTP/2 SETTINGS.
Extensions
public fun Http2Limits.copy(configure: Http2LimitsBuilder.() -> Unit = {}): Http2Limits· scoop:scoop.http:0.1.0
field maxPendingBodyBytes
source · line 32public
val maxPendingBodyBytes: Long = 65536L
field maxSendHeaderBlockBytes
source · line 31public
val maxSendHeaderBlockBytes: Long = 65536L
constructor constructor
source · line 28public
constructor(val headers: HttpHeaderLimits = HttpHeaderLimits(), val maxContinuations: Long = 8L, val maxSendHeaderBlockBytes: Long = 65536L, val maxPendingBodyBytes: Long = 65536L)
parameter maxSendHeaderBlockBytes
source · line 31public
val maxSendHeaderBlockBytes: Long = 65536L
parameter maxPendingBodyBytes
source · line 32public
val maxPendingBodyBytes: Long = 65536L
parameter headers
source · line 29public
val headers: HttpHeaderLimits = HttpHeaderLimits()
parameter maxContinuations
source · line 30public
val maxContinuations: Long = 8L
field maxContinuations
source · line 30public
val maxContinuations: Long = 8L
field headers
source · line 29public
val headers: HttpHeaderLimits = HttpHeaderLimits()
function equals
source · line 28publiccompiler-derived
operator fun equals(other: Http2Limits): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: HttpHeaderLimits, Long.