Scoop API

scoop:scoop.http.server:0.1.0

HttpBodyWriter

class HttpBodyWriter

source · line 15
public
public class HttpBodyWriter internal constructor(
    private val sink: AsyncByteSink,
    private val length: Long?
) : AsyncByteSink

A borrowed output view valid only while the framework executes one response body.

function flush

source · line 56
public
public override suspend fun flush(): Unit

Flushes accepted bytes without finishing the response.