Scoop API

scoop:scoop.asyncio:0.1.0

AsyncTcpStream

interface AsyncTcpStream

source · line 10
public
public interface AsyncTcpStream : AsyncByteStream, AsyncCloseable

An owned connected TCP byte stream with independent input and output and explicit output half-close.

property peerAddress

source · line 18
public
public val peerAddress: SocketAddress

get: public read-only

The remote endpoint of the established connection.

function shutdownOutput

source · line 22
public
public suspend fun shutdownOutput(): Unit

Finishes the output direction while allowing the input direction to continue.

property localAddress

source · line 14
public
public val localAddress: SocketAddress

get: public read-only

The local endpoint of the established connection.