UNPKG

448 BTypeScriptView Raw
1import { BaseTransportOptions, NewTransport } from '@sentry/core';
2import { FetchImpl } from './utils';
3export interface FetchTransportOptions extends BaseTransportOptions {
4 requestOptions?: RequestInit;
5}
6/**
7 * Creates a Transport that uses the Fetch API to send events to Sentry.
8 */
9export declare function makeNewFetchTransport(options: FetchTransportOptions, nativeFetch?: FetchImpl): NewTransport;
10//# sourceMappingURL=new-fetch.d.ts.map
\No newline at end of file