class SseLimits
source · line 6public
public class SseLimits public constructor(
/**
* The maximum byte length of a single event-stream line.
*/
public val maxLineBytes: Long = 65536L,
/**
* The maximum accumulated event-data byte count.
*/
public val maxEventBytes: Long = 1048576L)
Nonnegative byte limits for an SSE line and accumulated event data.
Extensions
public fun SseLimits.copy(configure: SseLimitsBuilder.() -> Unit = {}): SseLimits· scoop:scoop.http:0.1.0
property maxEventBytes
source · line 14public
public val maxEventBytes: Long = 1048576L
get: public read-only
The maximum accumulated event-data byte count.
constructor constructor
source · line 6public
constructor(public val maxLineBytes: Long = 65536L, public val maxEventBytes: Long = 1048576L)
parameter maxEventBytes
source · line 14public
public val maxEventBytes: Long = 1048576L
parameter maxLineBytes
source · line 10public
public val maxLineBytes: Long = 65536L
property maxLineBytes
source · line 10public
public val maxLineBytes: Long = 65536L
get: public read-only
The maximum byte length of a single event-stream line.