UNPKG

407 BTypeScriptView Raw
1import { BaseTransportOptions, NewTransport } from '@sentry/core';
2export interface XHRTransportOptions extends BaseTransportOptions {
3 headers?: {
4 [key: string]: string;
5 };
6}
7/**
8 * Creates a Transport that uses the XMLHttpRequest API to send events to Sentry.
9 */
10export declare function makeNewXHRTransport(options: XHRTransportOptions): NewTransport;
11//# sourceMappingURL=new-xhr.d.ts.map
\No newline at end of file