TbHttpUtils class
Constructors
- TbHttpUtils()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonKey ↔ List
-
getter/setter pair
- mConnectTimeout ↔ int
-
getter/setter pair
- mContentType ↔ String
-
getter/setter pair
- mErrorCodeHandle ↔ QuestFailed
-
getter/setter pair
- mFirstIntoApp ↔ bool
-
getter/setter pair
-
mHeader
↔ Map<
String, dynamic> -
getter/setter pair
-
mInterceptors
↔ List<
Interceptor> -
getter/setter pair
- mLoadingView ↔ Function
-
getter/setter pair
- mNetWorkHandle ↔ dynamic Function(ConnectivityResult? mNetWorkStatus)
-
getter/setter pair
- mPoxyUrl ↔ String
-
getter/setter pair
- mReceiveTimeout ↔ int
-
getter/setter pair
-
mRepeatQuests
↔ List<
QuestRepeatListInfo> -
getter/setter pair
- mSendTimeout ↔ int
-
getter/setter pair
- mShowErrorMsg ↔ bool
-
getter/setter pair
- mSuccessCode ↔ dynamic
-
getter/setter pair
- mTransformer ↔ Transformer
-
getter/setter pair
- mTrustAllCertificate ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
String url, int taskId, {Map< String, dynamic> ? queryParameters, Options? options, QuestSuccess? onSuccess, QuestError? onError, QuestFailed? onFiled, bool isShowLoading = true, CancelToken? token}) → dynamic -
init(
) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
String url, int taskId, {dynamic data, Map< String, dynamic> ? queryParameters, Options? options, QuestSuccess? onSuccess, QuestFailed? onFiled, QuestError? onError, ProgressCallback? onSendProgress, bool isShowLoading = true, CancelToken? token}) → dynamic -
questMix(
List< QuestListInfo> questInfos, {QuestSuccess? onSuccess, QuestFailed? onFiled, QuestError? onError, bool isShowLoading = true}) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → TbHttpUtils
-
no setter