MagicHttpFacadeAdapter class
TelescopeHttpAdapter that captures every request flowing through
Magic's network driver and feeds TelescopeStore.recordHttp.
Implementation: registers a _TelescopeNetworkInterceptor on the
driver resolved via Magic.make<NetworkDriver>('network'). The
interceptor sees every request/response/error and translates them to
HttpRequestRecord entries.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Human-readable adapter name.
no setter
- pendingCount → int
-
Number of HTTP requests currently in flight on Magic's network driver,
surfaced via the interceptor's FIFO
_pendinglist.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
install(
) → void - Wire the HTTP capture hook.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uninstall(
) → void - Tear down the hook (test isolation).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited