UNPKG

587 BTypeScriptView Raw
1import { Event, Response, Session, SessionAggregates, TransportOptions } from '@sentry/types';
2import { BaseTransport } from './base';
3/** Node http module transport */
4export declare class HTTPTransport extends BaseTransport {
5 options: TransportOptions;
6 /** Create a new instance and set this.agent */
7 constructor(options: TransportOptions);
8 /**
9 * @inheritDoc
10 */
11 sendEvent(event: Event): Promise<Response>;
12 /**
13 * @inheritDoc
14 */
15 sendSession(session: Session | SessionAggregates): PromiseLike<Response>;
16}
17//# sourceMappingURL=http.d.ts.map
\No newline at end of file