Scoop API

scoop:scoop.http:0.1.0

SseEncoder

class SseEncoder

source · line 6
public
public class SseEncoder private constructor(private val output: SseOutput) : Closeable

An incremental encoder for one SSE message or comment block, with bounded output state.

function close

source · line 50
public
public override fun close(): Unit

Drops retained text without emitting bytes or closing the caller's buffer.