function sse
source · line 21public
public fun sse(options: SseOptions = SseOptions(), produce: suspend (SseWriter) -> Unit): HttpResult
Builds an SSE stream that flushes its headers before running the producer.
parameter produce
source · line 23public
produce: suspend (SseWriter) -> Unit
parameter options
source · line 22public
options: SseOptions = SseOptions()