Interface: RecordedRequest
Defined in: src/index.ts:390
A request from WireMock's journal; fields not modelled here are kept as-is.
See
Indexable
[field: string]: unknown
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
absoluteUrl? | readonly | string | Scheme, host, port, path and query string, e.g. "http://localhost:32768/cards?page=1". | src/index.ts:396 |
body? | readonly | string | The body as text; "" for requests without one. | src/index.ts:404 |
headers? | readonly | Readonly<Record<string, unknown>> | Header name → value, e.g. { "Content-Type": "application/json" }. | src/index.ts:400 |
id? | readonly | string | The journal entry's id, where WireMock reports one. | src/index.ts:392 |
loggedDate? | readonly | number | Epoch milliseconds. | src/index.ts:406 |
method | readonly | string | E.g. "GET". | src/index.ts:398 |
queryParams? | readonly | Readonly<Record<string, unknown>> | Query parameter name → { key, values }, e.g. { page: { key: "page", values: ["1"] } }. | src/index.ts:402 |
url | readonly | string | Path and query string, e.g. "/cards?page=1". | src/index.ts:394 |