Message

data class Message(val headers: List<Header>, val payload: ByteArray)

An event stream message

Constructors

Link copied to clipboard
constructor(headers: List<Header>, payload: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun encode(dest: <Error class: unknown class>)

Encode a message to the dest buffer

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Inherited functions

Link copied to clipboard

Parse the protocol level headers into a concrete MessageType