NetworkRecorder class abstract interface

What the dart:io HTTP wrapper needs from the SDK client.

Implementers

Properties

captureBodies → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
maxBodyBytes → int
no setter
mocksReady → Future<void>?
Non-null while the very first desktop handshake may still be in flight; requests wait for it (bounded) so startup requests can be mocked.
no setter
networkEnabled → bool
False → the wrapper is a pure pass-through (SDK disabled or disposed).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

isRedactedHeader(String lowerCaseName) → bool
Whether the value of lowerCaseName must be redacted.
matchMock(String method, String url) → MockRule?
First matching mock rule for this request, or null.
nextRequestId() → String
Unique request id within this app session.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendNetMessage(Map<String, Object?> message) → void
Queues a net.* message.
toString() → String
A string representation of this object.
inherited

Operators

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