Navigation
API > API/Runtime > API/Runtime/BackgroundHTTP > API/Runtime/BackgroundHTTP/Interfaces > API/Runtime/BackgroundHTTP/Interfaces/IBackgroundHttpRequest
- IBackgroundHttpRequest::SetURLAsList()
- FBackgroundHttpRequestImpl::SetURLAsList()
References
| Module | BackgroundHTTP |
| Header | /Engine/Source/Runtime/Online/BackgroundHTTP/Public/Interfaces/IBackgroundHttpRequest.h |
| Include | #include "Interfaces/IBackgroundHttpRequest.h" |
void SetURLAsList
(
const TArray < FString > & URLs,
int NumRetriesToAttempt
)
Remarks
Sets up a list of URLs to automatically fall through as each one fails. Must be called before ProcessRequest.
Parameters
| Name | Description |
|---|---|
| URLs | list of URLs. Eg: download.epicgames.com/downloadfilehere.txt, download2.epicgames.com/downloadfilehere.txt, download3.epicgames/downloadfilehere.txt |
| NumRetriesToAttempt | How many times we want to fall through and try different URLS. Loops back to the beginning of the list if NumRetries > URLs.Num() |