WsFrame

open class WsFrame(val data: ByteArray, val type: WsOpcode, val isFinal: Boolean = true, val masked: Boolean = true)

Constructors

Link copied to clipboard
constructor(data: ByteArray, type: WsOpcode, isFinal: Boolean = true, masked: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val isFinal: Boolean = true
Link copied to clipboard
val masked: Boolean = true
Link copied to clipboard

Functions

Link copied to clipboard
fun toByteArray(random: Random = Random): ByteArray
Link copied to clipboard
open override fun toString(): String