|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Holds options that can be specified when starting a new download with downloadToFile(). More...
#include "juce_URL.h"
Public Member Functions | |
| auto | withExtraHeaders (String value) const |
| Specifies headers to add to the request. | |
| auto | withSharedContainer (String value) const |
| On iOS, specifies the container where the downloaded file will be stored. | |
| auto | withListener (DownloadTaskListener *value) const |
| Specifies an observer for the download task. | |
| auto | withUsePost (bool value) const |
| Specifies whether a post command should be used. | |
Public Attributes | |
| String | extraHeaders |
| String | sharedContainer |
| DownloadTaskListener * | listener |
| bool | usePost |
Holds options that can be specified when starting a new download with downloadToFile().
Definition at line 459 of file juce_URL.h.
Specifies headers to add to the request.
Definition at line 468 of file juce_URL.h.
| auto juce::URL::DownloadTaskOptions::withListener | ( | DownloadTaskListener * | value | ) | const |
Specifies an observer for the download task.
Definition at line 480 of file juce_URL.h.
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.
Definition at line 477 of file juce_URL.h.
Specifies whether a post command should be used.
Definition at line 483 of file juce_URL.h.
| String juce::URL::DownloadTaskOptions::extraHeaders |
Definition at line 462 of file juce_URL.h.
| DownloadTaskListener* juce::URL::DownloadTaskOptions::listener |
Definition at line 464 of file juce_URL.h.
| String juce::URL::DownloadTaskOptions::sharedContainer |
Definition at line 463 of file juce_URL.h.
| bool juce::URL::DownloadTaskOptions::usePost |
Definition at line 465 of file juce_URL.h.