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
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
juce::URL::DownloadTaskOptions Class Reference

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
 
DownloadTaskListenerlistener
 
bool usePost
 

Detailed Description

Holds options that can be specified when starting a new download with downloadToFile().

Definition at line 459 of file juce_URL.h.

Member Function Documentation

◆ withExtraHeaders()

auto juce::URL::DownloadTaskOptions::withExtraHeaders ( String  value) const

Specifies headers to add to the request.

Definition at line 468 of file juce_URL.h.

◆ withListener()

auto juce::URL::DownloadTaskOptions::withListener ( DownloadTaskListener value) const

Specifies an observer for the download task.

Definition at line 480 of file juce_URL.h.

◆ withSharedContainer()

auto juce::URL::DownloadTaskOptions::withSharedContainer ( String  value) const

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.

◆ withUsePost()

auto juce::URL::DownloadTaskOptions::withUsePost ( bool  value) const

Specifies whether a post command should be used.

Definition at line 483 of file juce_URL.h.

Member Data Documentation

◆ extraHeaders

String juce::URL::DownloadTaskOptions::extraHeaders

Definition at line 462 of file juce_URL.h.

◆ listener

DownloadTaskListener* juce::URL::DownloadTaskOptions::listener

Definition at line 464 of file juce_URL.h.

◆ sharedContainer

String juce::URL::DownloadTaskOptions::sharedContainer

Definition at line 463 of file juce_URL.h.

◆ usePost

bool juce::URL::DownloadTaskOptions::usePost

Definition at line 465 of file juce_URL.h.


The documentation for this class was generated from the following file: