HttpUtils class
Properties
-
dio
→ Dio?
-
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeHttpClient()
→ void
-
Close current connection, use with caution!!!
if use, Certificate needs to be reset. setupCertificate
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
request(String path, {bool showLoading = false, DioMethod method = DioMethod.get, Map<String, dynamic>? params, dynamic data, Options? options, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response>
-
-
setupCertificate({String? certFilePath, String? password})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited