MCDioEngine class

Owns the shared transport used by all request-scoped Dio instances.

Every scoped Dio has independent options and interceptors while reusing the root Dio's HttpClientAdapter. This keeps request configuration isolated and allows connections to be reused across requests.

Properties

hashCode → int
The hash code for this object.
no setterinherited
isClosed → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close({bool force = false}) → void
Closes the shared transport and all connections owned by it.
createScopedDio() → Dio
Creates an independent Dio facade backed by the shared transport.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

shared → MCDioEngine
final