Scoop API

scoop:scoop.http.server:0.1.0

SseOptions

class SseOptions

source · line 8
public
public class SseOptions public constructor(
    /** Idle interval for flushed comment heartbeats; None disables them. */
    public val heartbeatInterval: Duration? = None,
    /** Whether the installed response compression policy may encode this event stream. */
    public val allowCompression: Boolean = false
)

SSE endpoint behavior; application replay and subscription state remain external.

Extensions

property heartbeatInterval

source · line 10
public
public val heartbeatInterval: Duration? = None

get: public read-only

Idle interval for flushed comment heartbeats; None disables them.

property allowCompression

source · line 12
public
public val allowCompression: Boolean = false

get: public read-only

Whether the installed response compression policy may encode this event stream.