Scoop API

scoop:scoop.http:0.1.0

SseLimitException

class SseLimitException

source · line 36
public
public class SseLimitException public constructor(
    /**
     * The configured limit category that was exceeded.
     */
    public val kind: SseLimitKind,
    /**
     * The configured maximum for that category.
     */
    public val limit: Long) : Exception(Some("SSE " + (if (kind == SseLimitKind.LineBytes) "line" else "event data") + " exceeds " + limit.toString() + " bytes"))

SSE input exceeded the named configured byte limit.

property limit

source · line 44
public
public val limit: Long

get: public read-only

The configured maximum for that category.