HttpRequestClass class

Constructors

HttpRequestClass({String appUrl = "", bool commonEnc = false, String? storagePrefix, dynamic options})

Properties

appUrl String
getter/setter pair
commonEncMode bool
getter/setter pair
defaultType String
getter/setter pair
dio ↔ Dio
getter/setter pair
encryptionKeyLabel String
getter/setter pair
expiryThreshold int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
opts ↔ dynamic
getter/setter pair
payloadEnc Payload
getter/setter pair
prefixAccessToken String
getter/setter pair
prefixExpiryToken String
getter/setter pair
prefixRefreshToken String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildEncKeyHeader(Map<String, Object?> keySet) String
checkExpiry(RequestOptions opts, RequestInterceptorHandler handler) Future<void>
handleError(DioError e, ErrorInterceptorHandler handler) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
Request(String url, String method, {Object? data, Map<String, dynamic>? params, bool auth = false, bool encrypt = false, Map<String, dynamic>? customHeaders}) Future<Response>
setUserAgent() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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