Scoop API

scoop:scoop.asyncio:0.1.0

Companion

object Companion

source · line 32
public
public companion

Negotiates SOCKS5 while transferring transport cleanup responsibility.

function takeOwnership

source · line 37
public
public suspend fun <T> takeOwnership(transport: T, destination: Socks5Address, credentials: Socks5Credentials? = None, resolution: Socks5Resolution = Socks5Resolution.Proxy): AsyncSocks5Tunnel where T : AsyncByteStream, T : AsyncCloseable

Negotiates method, optional authentication, and CONNECT on the supplied transport using the selected destination-resolution policy.