Scoop API

scoop:scoop.http.asyncio:0.1.0

Companion

object Companion

source · line 25
public
public companion

Factories that transfer underlying endpoint cleanup responsibility.

function takeOwnership

source · line 30
public
public fun <T> takeOwnership(source: T, boundary: MultipartBoundary, limits: MultipartLimits = multipartLimits(), bufferSize: Long = 8192L): MultipartSource where T: AsyncByteSource, T: AsyncCloseable

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