1 | import type { Client, Integration, IntegrationClass } from '@sentry/types';
|
2 | export type HttpStatusCodeRange = [number, number] | number;
|
3 | export type HttpRequestTarget = string | RegExp;
|
4 | interface HttpClientOptions {
|
5 | |
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | failedRequestStatusCodes: HttpStatusCodeRange[];
|
14 | |
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | failedRequestTargets: HttpRequestTarget[];
|
22 | }
|
23 | export declare const httpClientIntegration: (options?: Partial<HttpClientOptions> | undefined) => import("@sentry/types").IntegrationFnResult;
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | export declare const HttpClient: IntegrationClass<Integration & {
|
29 | setup: (client: Client) => void;
|
30 | }> & (new (options?: {
|
31 | failedRequestStatusCodes: HttpStatusCodeRange[];
|
32 | failedRequestTargets: HttpRequestTarget[];
|
33 | }) => Integration);
|
34 | export {};
|
35 |
|
\ | No newline at end of file |