1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class RequestLogEntry {
|
4 | constructor(url, method, description, body) {
|
5 | this.url = url;
|
6 | this.method = method;
|
7 | this.description = description;
|
8 | this.body = body;
|
9 | }
|
10 | }
|
11 | exports.RequestLogEntry = RequestLogEntry;
|
12 |
|
13 | class ResponseLogEntry {
|
14 | constructor(status, body, contentType, contentLocation) {
|
15 | this.status = status;
|
16 | this.body = body;
|
17 | this.contentType = contentType;
|
18 | this.contentLocation = contentLocation;
|
19 | }
|
20 | }
|
21 | exports.ResponseLogEntry = ResponseLogEntry;
|
22 |
|
23 | class RequestResponseLogEntry {
|
24 | constructor(request, response) {
|
25 | this.request = request;
|
26 | this.response = response;
|
27 | }
|
28 | }
|
29 | exports.default = RequestResponseLogEntry;
|