RendezvousChannel

interface RendezvousChannel

Representation of a rendezvous channel such as that described by MSC3903.

Functions

Link copied to clipboard
abstract suspend fun close()

Closes the channel and cleans up.

Link copied to clipboard
abstract suspend fun connect(): String
Link copied to clipboard
abstract suspend fun receive(): ByteArray?

Receive a payload from the channel.

Link copied to clipboard
abstract suspend fun send(data: ByteArray)

Send a payload via the channel.

Properties

Link copied to clipboard
abstract val transport: RendezvousTransport

Inheritors

Link copied to clipboard