Scoop API

scoop:scoop.http.asyncio:0.1.0

Companion

object Companion

source · line 18
public
public companion

Factories that transfer underlying endpoint cleanup responsibility.

function takeOwnership

source · line 23
public
public fun <T> takeOwnership(sink: T, boundary: MultipartBoundary, bufferSize: Long = 8192L): MultipartSink where T : AsyncByteSink, T : AsyncCloseable

Creates the adapter and assumes cleanup responsibility for the supplied asynchronous endpoint.