HttpProxyAdapter class

HttpProxyAdapter ipAddr ip地址,默认是localhost port 端口,默认是8888

Constructors

HttpProxyAdapter({String ipAddr = 'localhost', int port = 8888})

Properties

hashCode int
The hash code for this object.
no setterinherited
ipAddr String
final
onHttpClientCreate ↔ OnHttpClientCreate?
Dio will create HttpClient when it is needed. If onHttpClientCreate is provided, Dio will call it when a HttpClient created.
getter/setter pairinherited
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close({bool force = false}) → void
inherited
fetch(RequestOptions options, Stream<Uint8List>? requestStream, Future? cancelFuture) Future<ResponseBody>
We should implement this method to make real http requests.
inherited
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