Scoop API

scoop:scoop.http:0.1.0

SseLimits

class SseLimits

source · line 6
public
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

property maxEventBytes

source · line 14
public
public val maxEventBytes: Long = 1048576L

get: public read-only

The maximum accumulated event-data byte count.

property maxLineBytes

source · line 10
public
public val maxLineBytes: Long = 65536L

get: public read-only

The maximum byte length of a single event-stream line.