Skip to main content

Function: envelopeHeaders()

envelopeHeaders(secret, id, timestampMs, payload, names?): Record<string, string>

Defined in: packages/agentos/src/io/channels/meetings/signing.ts:53

The three headers of one delivery: its id, its time and its signEnvelope signature.

Parameters​

secret​

string

The destination's secret.

id​

string

The delivery's id.

timestampMs​

number

The time the delivery is signed, in milliseconds since the epoch.

payload​

string

The body exactly as it is sent.

names?​

EnvelopeHeaderNames = DEFAULT_ENVELOPE_HEADERS

The header names; DEFAULT_ENVELOPE_HEADERS when absent.

Returns​

Record<string, string>