WebhookData
Defined in: packages/analytics/src/collectors/webhook.collector.ts:9
Properties
섹션 제목: “Properties”body?
섹션 제목: “body?”
optionalbody?:any
Defined in: packages/analytics/src/collectors/webhook.collector.ts:20
The parsed payload that the transformers read, required while signature
validation is off. While it is on, the collector parses it from the
verified rawBody instead, so it can be omitted and a value passed here
is replaced.
headers
섹션 제목: “headers”headers:
Record<string,string>
Defined in: packages/analytics/src/collectors/webhook.collector.ts:13
id:
string
Defined in: packages/analytics/src/collectors/webhook.collector.ts:10
rawBody?
섹션 제목: “rawBody?”
optionalrawBody?:string|ArrayBuffer|Uint8Array<ArrayBufferLike>
Defined in: packages/analytics/src/collectors/webhook.collector.ts:29
The request body exactly as received, before any parsing: the bytes the
sender signed. Prefer bytes, such as await request.arrayBuffer();
request.text() drops a leading BOM and replaces invalid UTF-8.
Required while signature validation is on, and then it must be UTF-8
JSON. Its size in bytes counts against maxPayloadSize before the
signature is checked.
signature?
섹션 제목: “signature?”
optionalsignature?:string
Defined in: packages/analytics/src/collectors/webhook.collector.ts:31
The signature to check when the signature header is missing.
source
섹션 제목: “source”source:
string
Defined in: packages/analytics/src/collectors/webhook.collector.ts:11
timestamp
섹션 제목: “timestamp”timestamp:
Date
Defined in: packages/analytics/src/collectors/webhook.collector.ts:12