1 |
|
2 | import { HttpHeaders } from '@hint/utils-types';
|
3 | export declare type Request = {
|
4 | headers: HttpHeaders;
|
5 | url: string;
|
6 | };
|
7 | export declare type ResponseBody = {
|
8 | content: string;
|
9 | rawContent: Buffer;
|
10 | rawResponse(): Promise<Buffer>;
|
11 | };
|
12 | export declare type Response = {
|
13 | body: ResponseBody;
|
14 | charset: string;
|
15 | headers: HttpHeaders;
|
16 | hops: string[];
|
17 | mediaType: string;
|
18 | statusCode: number;
|
19 | url: string;
|
20 | };
|
21 | export declare type NetworkData = {
|
22 | response: Response;
|
23 | request: Request;
|
24 | };
|
25 |
|
\ | No newline at end of file |