RequestWithOptions
Properties
| Name | Type |
|---|---|
callback | (response: RequestResponse) => void |
compression | Compression | 'best-available' |
compressionFallback | Compression |
Used when best-available compression negotiation does not select a format. | |
data | Record<string, any> | Record<string, any>[] |
disableTransport | ('XHR' | 'fetch' | 'sendBeacon')[] |
fetchOptions | {
cache?: RequestInit['cache'];
next?: NextOptions;
} |
fireCallbackOnDrop | boolean |
When set, | |
headers | Record<string, any> |
method | 'POST' | 'GET' |
noRetries | boolean |
onDispatch | () => void |
Called each time | |
preferSyncCompression | boolean |
Bypasses asynchronous CompressionStream gzip in favor of synchronous compression. Used for immediate requests so compression does not delay dispatch until after a navigation or page unload. | |
timeout | number |
timestampMode | 'body' | 'capture-body' | 'query' |
Controls where the request dispatch time is sent. - | |
transport | 'XHR' | 'fetch' | 'sendBeacon' |
url | string |
urlQueryArgs | {
compression: Compression;
} |





