MessageChannel

class MessageChannel(channel: CoroutineChannel) : Closeable

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
suspend fun emit(message: HandshakeMessage)
suspend fun emit(message: SignalProxyMessage)
suspend fun emit(sizePrefix: Boolean = true, f: (ChainedByteBuffer) -> Unit)
Link copied to clipboard
suspend fun init()
Link copied to clipboard
suspend fun read()
Link copied to clipboard
fun register(handler: ConnectionHandler)

Properties

Link copied to clipboard
val channel: CoroutineChannel
Link copied to clipboard
var negotiatedFeatures: FeatureSet