|
LMMS
|
#include <juce_URL.h>
Public Member Functions | |
| JUCE_NODISCARD auto | withExtraHeaders (String value) const |
| JUCE_NODISCARD auto | withSharedContainer (String value) const |
| JUCE_NODISCARD auto | withListener (DownloadTaskListener *value) const |
| JUCE_NODISCARD auto | withUsePost (bool value) const |
Public Attributes | |
| String | extraHeaders |
| String | sharedContainer |
| DownloadTaskListener * | listener = nullptr |
| bool | usePost = false |
Private Member Functions | |
| template<typename Member, typename Value> | |
| JUCE_NODISCARD DownloadTaskOptions | with (Member &&member, Value &&value) const |
Holds options that can be specified when starting a new download with downloadToFile().
|
inlineprivate |
|
inline |
Specifies headers to add to the request.
|
inline |
Specifies an observer for the download task.
|
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.
|
inline |
Specifies whether a post command should be used.
| String juce::URL::DownloadTaskOptions::extraHeaders |
| DownloadTaskListener* juce::URL::DownloadTaskOptions::listener = nullptr |
| String juce::URL::DownloadTaskOptions::sharedContainer |
| bool juce::URL::DownloadTaskOptions::usePost = false |