CurlOptions constructor

const CurlOptions({
  1. bool insecure = false,
  2. bool compressed = false,
  3. bool verbose = false,
  4. bool location = false,
  5. int? maxTime,
  6. List<String> customOptions = const [],
})

Creates a CurlOptions instance with the specified configuration.

All parameters are optional and have sensible defaults:

  • customOptions: empty list (no additional options)

Implementation

const CurlOptions({
  this.insecure = false,
  this.compressed = false,
  this.verbose = false,
  this.location = false,
  this.maxTime,
  this.customOptions = const [],
});