![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <BackgroundHttpManagerImpl.h>
Inheritance diagram for FBackgroundHttpManagerImpl:Protected Attributes | |
| TArray< FBackgroundHttpRequestPtr > | PendingStartRequests |
| FRWLock | PendingRequestLock |
| TArray< FBackgroundHttpRequestPtr > | ActiveRequests |
| FRWLock | ActiveRequestLock |
| volatile int | NumCurrentlyActiveRequests |
| TAtomic< int > | MaxActiveDownloads |
Additional Inherited Members | |
Static Protected Member Functions inherited from TSharedFromThis< IBackgroundHttpManager > | |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
Contains implementation of some common functions that don't vary between implementation
| FBackgroundHttpManagerImpl::FBackgroundHttpManagerImpl | ( | ) |
|
virtual |
|
protectedvirtual |
|
overridevirtual |
Adds a Background Http request instance to the manager for tracking Manager should always have a list of requests currently being processed
| Request | - the request object to add |
Implements IBackgroundHttpManager.
Reimplemented in FApplePlatformBackgroundHttpManager.
|
overrideprotectedvirtual |
Designed to be called internally by AddRequest to associate our incoming request with any previously completed background downloads (might have completed before this app launch, or carried over from a previous application launch and be running without any other information.
| Request | - The request to check for any existing request matches on. |
Implements IBackgroundHttpManager.
|
protectedvirtual |
|
overridevirtual |
Function that cleans up any persistent data after we have completed a reqeust. Should really never be calling this outside of a BackgroundHTTP class
Implements IBackgroundHttpManager.
|
protectedvirtual |
|
overridevirtual |
Function to remove all temporary files used by the system to store completed downloads. This should be called when there are no active background downloads that we care about to regain disk space from background downloads that may no longer be relevant (IE: downloads that were never moved after completion) but are still on disk.
Implements IBackgroundHttpManager.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
overridevirtual |
Function that returns how many active BackgroundHttpRequests we should have actively downloading at once.
Implements IBackgroundHttpManager.
|
overridevirtual |
Function that returns an FString fullpath where we would expect the given URL's temp file to be located
Implements IBackgroundHttpManager.
|
overridevirtual |
Initialize
Implements IBackgroundHttpManager.
|
overridevirtual |
Removes a Background Http request instance from the manager Presumably it is done being processed
| Request | - the request object to remove |
Implements IBackgroundHttpManager.
Reimplemented in FApplePlatformBackgroundHttpManager.
Setting cellular preference
Implements IBackgroundHttpManager.
Reimplemented in FApplePlatformBackgroundHttpManager.
|
overridevirtual |
Function that sets how many active BackgroundHttpRequests we should have actively downloading at once.
| MaxActiveDownloads | the maximum number of downloads that should be active at once |
Implements IBackgroundHttpManager.
|
overridevirtual |
Shutdown
Implements IBackgroundHttpManager.
Pure virtual that must be overloaded by the inheriting class.
| DeltaTime | time passed since the last call. |
Implements FTSTickerObjectBase.
Reimplemented in FApplePlatformBackgroundHttpManager.
|
protected |
|
protected |
List of Background Http requests that are actively being processed
|
protected |
|
protected |
Count of how many requests we have active
|
protected |
|
protected |
List of Background Http requests that we have called AddRequest on, but have not yet started due to platform active download limits