Skip to content

Type Alias: CmcdRequestReport<D> ​

ts
type CmcdRequestReport<D> = HttpRequest & object;

Defined in: CmcdRequestReport.ts:15

A report of a CMCD request.

The provenance member is optional so callers that build or mock request reports can construct the type. Every request returned by CmcdReporter.createRequestReport() includes the member.

Type Parameters ​

D ​

D = unknown

Type Declaration ​

customData ​

ts
customData: object & D;

Type Declaration ​

[CMCD_REQUEST_PROVENANCE]? ​
ts
[CMCD_REQUEST_PROVENANCE]?: CmcdRequestProvenance;
cmcd ​
ts
cmcd: Cmcd;

headers ​

ts
headers: Record<string, string>;

A Streaming Video Technology Alliance project.