NetLensHttpAdapter class

Mixed-in types
  • NetLensAdapter

Constructors

NetLensHttpAdapter({Client? replayClient})

Properties

hashCode → int
The hash code for this object.
no setterinherited
netLensCore ↔ NetLensCore
latefinalinherited
replayClient ↔ Client?
Client used to send calls again from NetLens. When it is null, a new http.Client is used for each replay.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

canReplay(NetLensHttpCall call) → bool
Returns true when call was made by the client of this adapter.
override
injectCore(NetLensCore netLensCore) → void
Injects NetLensCore into adapter.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResponse(Response response, {dynamic body}) → void
Handles http response. It creates both request and response from http call
replay(NetLensReplayRequest request) → Future<void>
Sends request. Completes when the response or the error was received.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

clientName → const String
Name of the client shown in NetLens.