NetworkRequestSender class abstract interface

Sends a composed/replayed request through a real, app-owned client.

Implemented per transport (DioRequestSender in ispectify_dio, HttpClientRequestSender in ispectify_http) and registered by the host app so the composer reuses the client's base URL, auth interceptors, and retries instead of reconstructing them. Because the request travels through the instrumented client, it is also logged by the existing interceptor — no parallel, unredacted log is produced.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Stable identifier for the underlying transport (e.g. dio, http).
no setter
label String
Human-readable label shown when several senders are registered.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(NetworkReplayRequest request) Future<NetworkReplayResult>
Sends request and returns a summary of the response.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited