ExHttp constructor

ExHttp({
  1. String? baseURL,
  2. Map<String, String>? baseHeader,
  3. bool allowAutoSignedCertificate = true,
  4. bool useUserAgent = false,
  5. String customUserAgent = 'ex-api',
  6. bool allowFollowRedirects = false,
  7. int maxRedirectURL = 3,
  8. int maxAuthRetry = 3,
  9. Duration? maxTimeOut,
  10. dynamic interceptorAddRequestModifier(
    1. Request<void>
    )?,
  11. dynamic interceptorAddAuthenticator(
    1. Request<void>
    )?,
  12. dynamic interceptorAddResponseModifier(
    1. Request<void>,
    2. Response<Object?>
    )?,
})

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,
});