DefaultHttpClientAdapter class Null safety

The default HttpClientAdapter for Dio.

Implemented types

Constructors

DefaultHttpClientAdapter()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
onHttpClientCreate ↔ OnHttpClientCreate?
Dio will create HttpClient when it is needed. If onHttpClientCreate is provided, Dio will call it when a HttpClient created.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

close({bool force = false}) → void
override
fetch(RequestOptions options, Stream<Uint8List>? requestStream, Future? cancelFuture) Future<ResponseBody>
We should implement this method to make real http requests. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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