HttpRequestSetting class

Constructors

HttpRequestSetting({String baseUrl = "", int sendTimeOut = 20, int connectTimeOut = 60, int receiveTimeOut = 20, String contentType = "application/json", List<Interceptor>? interceptors})

Properties

baseUrl → String
基础URL(host)
final
connectTimeOut → int
连接超时时间
final
contentType → String
请求内容编码
final
hashCode → int
The hash code for this object.
no setterinherited
interceptors → List<Interceptor>?
拦截器集合
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