ASocket

interface ASocket : DisposableHandle

Base type for all async sockets

Functions

Link copied to clipboard
open override fun dispose()

Properties

Link copied to clipboard
abstract val socketContext: Job

Represents a socket lifetime, completes at socket closure

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
suspend fun ASocket.awaitClosed()

Await until socket close

Link copied to clipboard
val ASocket.isClosed: Boolean

Check if the socket is closed