payload

fun payload(text: String)

Set the payload from a UTF-8 string.


fun payload(bytes: ByteArray)

Set the payload from raw bytes (copied into an immutable ByteString).


fun payload(byteString: ByteString)

Set the payload from an immutable ByteString.