UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FModularFeaturePlatformBackgroundHttp Class Reference

#include <ModularFeaturePlatformBackgroundHttp.h>

Static Public Member Functions

static BACKGROUNDHTTP_API void Initialize ()
 
static BACKGROUNDHTTP_API void Shutdown ()
 
static BACKGROUNDHTTP_API FBackgroundHttpManagerPtr CreatePlatformBackgroundHttpManager ()
 
static BACKGROUNDHTTP_API FBackgroundHttpRequestPtr ConstructBackgroundRequest ()
 
static BACKGROUNDHTTP_API FBackgroundHttpResponsePtr ConstructBackgroundResponse (int32 ResponseCode, const FString &TempFilePath)
 
static BACKGROUNDHTTP_API FName GetModularFeatureName ()
 

Static Protected Member Functions

static BACKGROUNDHTTP_API void CacheModularFeature ()
 

Detailed Description

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

Member Function Documentation

◆ CacheModularFeature()

void FModularFeaturePlatformBackgroundHttp::CacheModularFeature ( )
staticprotected

◆ ConstructBackgroundRequest()

FBackgroundHttpRequestPtr FModularFeaturePlatformBackgroundHttp::ConstructBackgroundRequest ( )
static

Creates a new Background Http request instance for the current platform that will continue to download when the application is in the background

Returns
request object

◆ ConstructBackgroundResponse()

FBackgroundHttpResponsePtr FModularFeaturePlatformBackgroundHttp::ConstructBackgroundResponse ( int32  ResponseCode,
const FString &  TempFilePath 
)
static

Creates a new Background Http Response instance for the current platform This normally is called by the request and associated with itself.

Returns
response object

◆ CreatePlatformBackgroundHttpManager()

FBackgroundHttpManagerPtr FModularFeaturePlatformBackgroundHttp::CreatePlatformBackgroundHttpManager ( )
static

Creates a platform-specific Background HTTP manager. Un-implemented platforms should create a FGenericPlatformBackgroundHttpManager

◆ GetModularFeatureName()

FName FModularFeaturePlatformBackgroundHttp::GetModularFeatureName ( )
static

◆ Initialize()

void FModularFeaturePlatformBackgroundHttp::Initialize ( )
static

Platform initialization step

◆ Shutdown()

void FModularFeaturePlatformBackgroundHttp::Shutdown ( )
static

Platform shutdown step


The documentation for this class was generated from the following files: