ExHttp constructor
ExHttp({
- String? baseURL,
- Map<
String, String> ? baseHeader, - bool allowAutoSignedCertificate = true,
- bool useUserAgent = false,
- String customUserAgent = 'ex-api',
- bool allowFollowRedirects = false,
- int maxRedirectURL = 3,
- int maxAuthRetry = 3,
- Duration? maxTimeOut,
- dynamic interceptorAddRequestModifier(
- Request<
void>
- Request<
- dynamic interceptorAddAuthenticator(
- Request<
void>
- Request<
- dynamic interceptorAddResponseModifier(
- Request<
void> , - Response<
Object?>
- Request<
Implementation
ExHttp({
this.baseURL,
this.baseHeader,
this.allowAutoSignedCertificate = true,
this.useUserAgent = false,
this.customUserAgent = 'ex-api',
this.allowFollowRedirects = false,
this.maxRedirectURL = 3,
this.maxAuthRetry = 3,
this.maxTimeOut,
this.interceptorAddRequestModifier,
this.interceptorAddAuthenticator,
this.interceptorAddResponseModifier,
});