struct HttpHeaderLimits
source · line 7public
public struct HttpHeaderLimits(val maxBytes: Long = 65536L, val maxFieldBytes: Long = 16384L, val maxFields: Long = 100L)
Positive local limits on total header bytes, one field's bytes, and field count. These are enforced independently of peer-advertised settings.
Extensions
field maxFields
source · line 10public
val maxFields: Long = 100L
field maxBytes
source · line 8public
val maxBytes: Long = 65536L
field maxFieldBytes
source · line 9public
val maxFieldBytes: Long = 16384L
constructor constructor
source · line 7public
constructor(val maxBytes: Long = 65536L, val maxFieldBytes: Long = 16384L, val maxFields: Long = 100L)
parameter maxFields
source · line 10public
val maxFields: Long = 100L
parameter maxFieldBytes
source · line 9public
val maxFieldBytes: Long = 16384L
parameter maxBytes
source · line 8public
val maxBytes: Long = 65536L
function equals
source · line 7publiccompiler-derived
operator fun equals(other: HttpHeaderLimits): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Long.