Class Channel<Payload, PeerAddress>Abstract
Type Parameters
Payload extends Payload
PeerAddress extends PeerInternetAddress
Properties
Readonly
deliveryAuthPath
Methods
makeMessage
- makeMessage(payload, messageConstructor, options?): Promise<ArrayBuffer>
Parameters
payload: ArrayBuffer | Payload
messageConstructor: RAMFMessageConstructor<Payload>
options: Partial<Omit<MessageOptions, "senderCaCertificateChain">> = {}
Returns Promise<ArrayBuffer>
Generate and serialise a message with the given
payload
.