NetworkRecordOptions

Example values

TypeScript
{
initiatorTypes?: InitiatorType[];
maskRequestFn?: (data: CapturedNetworkRequest) => CapturedNetworkRequest | undefined;
recordHeaders?: boolean | {
request: boolean;
response: boolean;
};
recordBody?: boolean | string[] | {
request: boolean | string[];
response: boolean | string[];
};
recordInitialRequests?: boolean;
recordPerformance?: boolean;
performanceEntryTypeToObserve: string[];
payloadSizeLimitBytes: number;
payloadHostDenyList?: string[];
}

Community questions

Questions about this page? or post a community question.