UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IBackgroundHttpRequest.h File Reference

Go to the source code of this file.

Classes

class  IBackgroundHttpRequest
 

Typedefs

typedef TSharedPtr< class IBackgroundHttpRequest, ESPMode::ThreadSafeFBackgroundHttpRequestPtr
 
typedef TSharedPtr< class IBackgroundHttpResponse, ESPMode::ThreadSafeFBackgroundHttpResponsePtr
 
typedef TSharedPtr< class IBackgroundHttpManager, ESPMode::ThreadSafeFBackgroundHttpManagerPtr
 

Enumerations

enum class  EBackgroundHTTPPriority : uint8 { High , Normal , Low , Num }
 

Functions

 DECLARE_DELEGATE_TwoParams (FBackgroundHttpRequestCompleteDelegate, FBackgroundHttpRequestPtr, bool)
 
 DECLARE_DELEGATE_ThreeParams (FBackgroundHttpProgressUpdateDelegate, FBackgroundHttpRequestPtr, int32, int32)
 
 DECLARE_DELEGATE_ThreeParams (FBackgroundHttpRequestMetricsDelegate, FBackgroundHttpRequestPtr, int32, float)
 
 DECLARE_DELEGATE_TwoParams (FBackgroundHttpRequestMetricsExtendedDelegate, FBackgroundHttpRequestPtr, FBackgroundHttpRequestMetricsExtended)
 
const TCHARLexToString (EBackgroundHTTPPriority InType)
 
bool LexTryParseString (EBackgroundHTTPPriority &OutMode, const TCHAR *InBuffer)
 

Typedef Documentation

◆ FBackgroundHttpManagerPtr

◆ FBackgroundHttpRequestPtr

◆ FBackgroundHttpResponsePtr

Enumeration Type Documentation

◆ EBackgroundHTTPPriority

Enum used to describe download priority. Higher priorities will be downloaded first. Note: Should always be kept in High -> Low priority order if adding more Priorities!

Enumerator
High 
Normal 
Low 
Num 

Function Documentation

◆ DECLARE_DELEGATE_ThreeParams() [1/2]

DECLARE_DELEGATE_ThreeParams ( FBackgroundHttpProgressUpdateDelegate  ,
FBackgroundHttpRequestPtr  ,
int32  ,
int32   
)

Delegate Called when a Background Http request updates its progress

Parameters
RequestBackground Http Request that is updating its progress
TotalBytesWrittenAmount of data we have written so far. Total Figure.
BytesWrittenSinceLastUpdateAmount of data we have written since our last call to this delegate.

◆ DECLARE_DELEGATE_ThreeParams() [2/2]

DECLARE_DELEGATE_ThreeParams ( FBackgroundHttpRequestMetricsDelegate  ,
FBackgroundHttpRequestPtr  ,
int32  ,
float   
)

Delegate called when a Background Http request metrics are ready

Parameters
RequestBackground Http Request for which the metrics were calculated
TotalBytesDownloadedThe count of bytes downloaded in this request
DownloadDurationThe duration of the download in seconds

◆ DECLARE_DELEGATE_TwoParams() [1/2]

DECLARE_DELEGATE_TwoParams ( FBackgroundHttpRequestCompleteDelegate  ,
FBackgroundHttpRequestPtr  ,
bool   
)

Delegate called when a Background Http request completes

Parameters
Requestoriginal Background Http request that started things
Responseresponse received from the server if a successful connection was established

◆ DECLARE_DELEGATE_TwoParams() [2/2]

Delegate called when a Background Http request extended metrics are ready

Parameters
RequestBackground Http Request for which the metrics were calculated
BackgroundHttpRequestMetricsExtendedstruct containing all the metrics

◆ LexToString()

const TCHAR * LexToString ( EBackgroundHTTPPriority  InType)
inline

◆ LexTryParseString()

bool LexTryParseString ( EBackgroundHTTPPriority OutMode,
const TCHAR InBuffer 
)
inline