RecordedCall

One call a FakeHttpTransport received: the request, when it arrived and whether a stub matched it.

Stable Core, source compatibility only. Built by the fake only; immutable. Equality is identity. toString() prints the method, the redacted URL (never the query), the stamp and the flag; no header value or body.

Properties

Link copied to clipboard

Whether a stub accepted the request; false for an unmatched one.

Link copied to clipboard

When the call arrived: elapsed on the fake's time source since construction, before any delay.

Link copied to clipboard

The request as the fake received it.

Functions

Link copied to clipboard
open override fun toString(): String

A diagnostic string for logs: the method, the URL in its redacted form (Url.redacted), receivedAt and matched, never the query, a header value or the body. Its format is not part of the API and may change.