EnvelopeBuilder

class EnvelopeBuilder : Envelope

Functions

data
Link copied to clipboard
common
fun data(block: Output.() -> Unit)

Construct a data binary from given builder

meta
Link copied to clipboard
common
fun meta(block: MutableMeta.() -> Unit)
seal
Link copied to clipboard
common
fun seal(): Envelope

Properties

data
Link copied to clipboard
common
open override var data: Binary? = null
dataID
Link copied to clipboard
common
var dataID: String?

Data unique identifier to bypass identity checks

dataType
Link copied to clipboard
common
var dataType: String?
description
Link copied to clipboard
common
var description: String?
meta
Link copied to clipboard
common
open override var meta: Meta
name
Link copied to clipboard
common
var name: String?
type
Link copied to clipboard
common
var type: String?

The general purpose of the envelope

Extensions

envelopes
Link copied to clipboard
common
fun EnvelopeBuilder.envelopes(envelopes: List<Envelope>, format: EnvelopeFormat = TaggedEnvelopeFormat, separator: String = DEFAULT_MULTIPART_DATA_SEPARATOR)
multipart
Link copied to clipboard
common
fun EnvelopeBuilder.multipart(parts: EnvelopeParts, separator: String = DEFAULT_MULTIPART_DATA_SEPARATOR)