UNPKG

659 BTypeScriptView Raw
1export declare class RequestLogEntry {
2 body?: string;
3 description: string;
4 jsonBody?: any;
5 method: string;
6 url: string;
7 constructor(url: string, method: string, description: string, body?: string);
8}
9export declare class ResponseLogEntry {
10 body?: string;
11 contentType?: string;
12 contentLocation?: string;
13 jsonBody?: any;
14 status: number;
15 constructor(status: number, body?: string, contentType?: string, contentLocation?: string);
16}
17export default class RequestResponseLogEntry {
18 request: RequestLogEntry;
19 response: ResponseLogEntry;
20 constructor(request: RequestLogEntry, response: ResponseLogEntry);
21}