Fields

@:optionaloptionaltimeout:Null<Float>

  • Request timeout in seconds

@:optionaloptionalreport_progress:Null<Bool>

  • When it is true, the amount of bytes sent and/or received for a request will be passed into the callback function

@:optionaloptionalpath:Null<String>

  • Path on disc where to download the file. Only overwrites the path if status is 200

@:optionaloptionalignore_cache:Null<Bool>

  • Don't return cached data if we get a 304

@:optionaloptionalchunked_transfer:Null<Bool>

  • Use chunked transfer encoding for https requests larger than 16kb. Defaults to true.