OpenShot Audio Library | OpenShotAudio 0.4.0
|
#include <juce_URL.h>
Public Member Functions | |
auto | withExtraHeaders (String value) const |
auto | withSharedContainer (String value) const |
auto | withListener (DownloadTaskListener *value) const |
auto | withUsePost (bool value) const |
Public Attributes | |
String | extraHeaders |
String | sharedContainer |
DownloadTaskListener * | listener = nullptr |
bool | usePost = false |
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.
Referenced by juce::URL::downloadToFile().
|
inline |
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 = nullptr |
Definition at line 464 of file juce_URL.h.
String juce::URL::DownloadTaskOptions::sharedContainer |
Definition at line 463 of file juce_URL.h.
Definition at line 465 of file juce_URL.h.