HttpClientOptions constructor

HttpClientOptions({
  1. Map<String, String>? cookies,
  2. Map<String, String>? headers,
  3. dynamic body,
  4. bool? preserveHeaderCase,
  5. int? sendTimeout,
  6. int? receiveTimeout,
  7. String? contentType,
  8. dynamic validateStatus(
    1. int? status
    )?,
  9. bool? followRedirects,
  10. int? maxRedirects,
  11. HttpClientResponseType? responseType,
})

Creates HTTP client options

Implementation

HttpClientOptions({
  this.cookies,
  this.headers,
  this.body,
  this.preserveHeaderCase,
  this.sendTimeout,
  this.receiveTimeout,
  this.contentType,
  this.validateStatus,
  this.followRedirects,
  this.maxRedirects,
  this.responseType,
});