HttpConfig class
dio 配置项
Constructors
-
HttpConfig({String? baseUrl, String? proxy, String? cookiesPath, List<
Interceptor> ? interceptors, int connectTimeout = 10000, int sendTimeout = 10000, int receiveTimeout = 10000})
Properties
- baseUrl → String?
-
final
- connectTimeout → int
-
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interceptors
→ List<
Interceptor> ? -
final
- proxy → String?
-
final
- receiveTimeout → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendTimeout → int
-
final
Methods
-
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