FastAppHttp class

Constructors

FastAppHttp()

Properties

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

Methods

downloadFile(String urlPath, String savePath, {int localId = 0, dynamic cDio, ProgressCallback? onReceiveProgress}) Future<Map>
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

fastDio ↔ Dio?
getter/setter pair

Static Methods

doDelete({required String url, dynamic body, Map<String, dynamic> headers = const {}, bool isReconnectStrategyStart = false, int reconnectTime = 0, String? hud}) Future<FastHttpResponse>
doGet({required String url, Map<String, dynamic>? body, Map<String, dynamic> headers = const {}, bool isReconnectStrategyStart = false, int reconnectTime = 0, String? hud}) Future<FastHttpResponse>
doGetTestData(FastRequest request, dynamic body, Map<String, String> headers) Future<FastHttpResponse>
doPost({required String url, dynamic body, Map<String, dynamic> headers = const {}, bool isReconnectStrategyStart = false, int reconnectTime = 0, String? hud}) Future<FastHttpResponse>
doPut({required String url, dynamic body, Map<String, dynamic> headers = const {}, bool isReconnectStrategyStart = false, int reconnectTime = 0, String? hud}) Future<FastHttpResponse>
initDio({required String baseUrl, Interceptor? interceptor, String proxy = ''}) → Dio
upLoadFile({required String url, required File file, Map<String, dynamic> headers = const {}, Map<String, dynamic>? data, String? hud, bool isMultiFile = true}) Future<FastHttpResponse>

Constants

CONNECT_TIMEOUT → const int
RECEIVE_TIMEOUT → const int