Navigation
API > API/Runtime > API/Runtime/BackgroundHTTP > API/Runtime/BackgroundHTTP/IBackgroundHttpRequest
Description
Sets up a list of URLs to automatically fall through as each one fails. Must be called before ProcessRequest.
Derived Overrides
| Name | SetURLAsList |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/BackgroundHTTP/Public/Interfaces/IBackgroundHttpRequest.h |
| Include Path | #include "Interfaces/IBackgroundHttpRequest.h" |
void SetURLAsList
(
const TArray < FString > & URLs,
int NumRetriesToAttempt
)
Parameters
| Name | Remarks |
|---|---|
| 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() |