HttpConfig constructor

HttpConfig({
  1. String? baseUrl,
  2. Map<String, dynamic>? headers,
  3. String? proxy,
  4. String? cookiesPath,
  5. List<Interceptor>? interceptors,
  6. int connectTimeout = Duration.millisecondsPerMinute,
  7. int sendTimeout = Duration.millisecondsPerMinute,
  8. int receiveTimeout = Duration.millisecondsPerMinute,
})

Implementation

HttpConfig({
  this.baseUrl,
  this.headers,
  this.proxy,
  this.cookiesPath,
  this.interceptors,
  this.connectTimeout = Duration.millisecondsPerMinute,
  this.sendTimeout = Duration.millisecondsPerMinute,
  this.receiveTimeout = Duration.millisecondsPerMinute,
});