EurekaRestClientRunner class

Runner实例

Inheritance

Constructors

EurekaRestClientRunner(String remoteAddress, String rootPath, Dio client)

Properties

client Dio
DIO客户端
final
hashCode int
The hash code for this object.
read-onlyinherited
logger Log
read / write
remoteAddress String
远端路径,直接返回
final
rootPath String
根路径
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

close() Future<void>
Stop the runner.
inherited
combinePath(String path) Future<String>
合并请求路径
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
run<R>(String path, {dynamic data, Map<String, dynamic> queryParameters, CancelToken cancelToken, Options options, ProgressCallback onSendProgress, ProgressCallback onReceiveProgress}) Future<Response<R>>
Request that function be called with the provided arguments.
override
toString() String
A string representation of this object.
inherited

Operators

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