1 | import { Event, Response, SentryRequest, Session, TransportOptions } from '@sentry/types';
|
2 | import { BaseTransport } from './base';
|
3 | import { FetchImpl } from './utils';
|
4 |
|
5 | export declare class FetchTransport extends BaseTransport {
|
6 | |
7 |
|
8 |
|
9 | private _fetch;
|
10 | constructor(options: TransportOptions, fetchImpl?: FetchImpl);
|
11 | /**
|
12 | * @param sentryRequest Prepared SentryRequest to be delivered
|
13 | * @param originalPayload Original payload used to create SentryRequest
|
14 | */
|
15 | protected _sendRequest(sentryRequest: SentryRequest, originalPayload: Event | Session): PromiseLike<Response>;
|
16 | }
|
17 | //# sourceMappingURL=fetch.d.ts.map |
\ | No newline at end of file |