1 | import { Event, Response, Session } from '@sentry/types';
|
2 | import { BaseTransport } from './base';
|
3 | /** `XHR` based transport */
|
4 | export declare class XHRTransport extends BaseTransport {
|
5 | /**
|
6 | * @inheritDoc
|
7 | */
|
8 | sendEvent(event: Event): PromiseLike<Response>;
|
9 | /**
|
10 | * @inheritDoc
|
11 | */
|
12 | sendSession(session: Session): PromiseLike<Response>;
|
13 | /**
|
14 | * @param sentryRequest Prepared SentryRequest to be delivered
|
15 | * @param originalPayload Original payload used to create SentryRequest
|
16 | */
|
17 | private _sendRequest;
|
18 | }
|
19 | //# sourceMappingURL=xhr.d.ts.map |
\ | No newline at end of file |