Navigation
API > API/Runtime > API/Runtime/BackgroundHTTP > API/Runtime/BackgroundHTTP/Interfaces
Inheritance Hierarchy
- FSharedFromThisBase
- TSharedFromThis
- IBackgroundHttpRequest
- FBackgroundHttpRequestImpl
- FGenericPlatformBackgroundHttpRequest
References
| Module | BackgroundHTTP |
| Header | /Engine/Source/Runtime/Online/BackgroundHTTP/Public/Interfaces/IBackgroundHttpRequest.h |
| Include | #include "Interfaces/IBackgroundHttpRequest.h" |
Syntax
class IBackgroundHttpRequest : public TSharedFromThis< IBackgroundHttpRequest, ESPMode::ThreadSafe >
Remarks
Interface for Http requests (created using FHttpFactory)
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor for overrides |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Called to cancel a request that is still being processed | ||
| void | CompleteWithExistingResponseData
(
FBackgroundHttpResponsePtr BackgroundResponse |
Function used to complete an IHttpBackgroundRequest from an external source, passing it in a pre-existing response data. | |
| void | GetDebugText
(
TArray< FString >& Output |
Returns debug text for download screen to help troubleshoot download issues | |
| const FString & | GetRequestID () |
Gets the associated RequestID for this BackgroundDownload. | |
| EBackgroundHTTPPriority | Gets the associated Requeset's Priority for Background Downloadings. | ||
| const FBackgroundHttpResponsePtr | GetResponse () |
Get the associated Response | |
| const TArray< FString > & | GetURLList () |
Gets the current URL List that this background request is currently processing. | |
| bool | Called by certain platform's implementation when we have to wait for the BackgroundHttpManager / PlatformBackgroundHttp to do some work before we can finish our ProcessRequest call. | ||
| FBackgroundHttpRequestCompleteDelegate & | Delegate called when the request is complete. See FBackgroundHttpRequestCompleteDelegate | ||
| FBackgroundHttpProgressUpdateDelegate & | Delegate called when the request has a progress update. | ||
| FBackgroundHttpRequestMetricsDelegate & | Delegate called when the request's metrics were calculated | ||
| void | PauseRequest () |
Called to pause a request that is still being processed | |
| bool | Called to begin processing the request. | ||
| void | Called to resume a request that was previously paused | ||
| void | SetCompleteNotification
(
FBackgroundHttpNotificationObjectPtr DownloadCompleteNotificationObject |
Sets an FHTTPRequestDownloadNotificationObject to be mapped to this HTTPRequest. | |
| void | SetRequestID
(
const FString& NewRequestID |
Sets the associated RequestID for this BackgroundDownload. | |
| void | SetRequestPriority
(
EBackgroundHTTPPriority NewPriority |
Sets the associated Requeset's Priority for Background Downloadings. | |
| void | SetURLAsList
(
const TArray< FString >& URLs, |
Sets up a list of URLs to automatically fall through as each one fails. |