Holds options that can be specified when starting a new download with downloadToFile().
More...
#include <juce_URL.h>
Holds options that can be specified when starting a new download with downloadToFile().
◆ with()
template<typename Member , typename
Value >
◆ withExtraHeaders()
| auto juce::URL::DownloadTaskOptions::withExtraHeaders |
( |
String |
value | ) |
const |
|
inline |
Specifies headers to add to the request.
◆ withListener()
Specifies an observer for the download task.
◆ withSharedContainer()
| auto juce::URL::DownloadTaskOptions::withSharedContainer |
( |
String |
value | ) |
const |
|
inline |
On iOS, specifies the container where the downloaded file will be stored.
If you initiate a download task from inside an app extension on iOS, you must supply this option.
This is currently unused on other platforms.
◆ withUsePost()
| auto juce::URL::DownloadTaskOptions::withUsePost |
( |
bool |
value | ) |
const |
|
inline |
Specifies whether a post command should be used.
◆ extraHeaders
| String juce::URL::DownloadTaskOptions::extraHeaders |
◆ listener
◆ sharedContainer
| String juce::URL::DownloadTaskOptions::sharedContainer |
◆ usePost
| bool juce::URL::DownloadTaskOptions::usePost = false |
The documentation for this class was generated from the following file: