Navigation
API > API/Runtime > API/Runtime/BackgroundHTTP
This version of BackgroundHttp is designed to be used by any platform that relies on a ModularFeature to override the BackgroundHttp behavior. If no modular feature is found, we fall back on the GenericPlatform implementation to provide functionality
| Name | FModularFeaturePlatformBackgroundHttp |
| Type | class |
| Header File | /Engine/Source/Runtime/Online/BackgroundHTTP/Public/PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h |
| Include Path | #include "PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h" |
Syntax
class FModularFeaturePlatformBackgroundHttp
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bHasCheckedForModularFeature | bool | PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h | |
| CachedModularFeature | IBackgroundHttpModularFeature * | PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void CacheModularFeature() |
PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h | ||
static FBackgroundHttpRequestPtr ConstructBackgroundRequest() |
Creates a new Background Http request instance for the current platform that will continue to download when the application is in the background | PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h | |
static FBackgroundHttpResponsePtr ConstructBackgroundResponse
(
int32 ResponseCode, |
Creates a new Background Http Response instance for the current platform This normally is called by the request and associated with itself. | PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h | |
static FBackgroundHttpManagerPtr CreatePlatformBackgroundHttpManager () |
Creates a platform-specific Background HTTP manager. | PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h | |
static FName GetModularFeatureName() |
PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h | ||
static void Initialize() |
Platform initialization step | PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h | |
static void Shutdown() |
Platform shutdown step | PlatformWithModularFeature/ModularFeaturePlatformBackgroundHttp.h |