UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IBackgroundHttpResponse Class Referenceabstract

#include <IBackgroundHttpResponse.h>

+ Inheritance diagram for IBackgroundHttpResponse:

Public Member Functions

virtual int32 GetResponseCode () const =0
 
virtual const FString & GetTempContentFilePath () const =0
 
virtual ~IBackgroundHttpResponse ()=default
 

Detailed Description

Interface for Http Background Responses

Constructor & Destructor Documentation

◆ ~IBackgroundHttpResponse()

virtual IBackgroundHttpResponse::~IBackgroundHttpResponse ( )
virtualdefault

Destructor for overrides

Member Function Documentation

◆ GetResponseCode()

virtual int32 IBackgroundHttpResponse::GetResponseCode ( ) const
pure virtual

Gets the response code returned by the requested server. See EHttpResponseCodes for known response codes. Same as HttpRequest (non-background)

Returns
the response code.

Implemented in FBackgroundHttpResponseImpl.

◆ GetTempContentFilePath()

virtual const FString & IBackgroundHttpResponse::GetTempContentFilePath ( ) const
pure virtual

Gets the file name that our temporary content file will be stored in. HttpBackgroundRequests Download their files to a temp location and this can be used to get at the temporary file on disk and move it to your desired location.

Returns
FString representing the FilePath to the temporary file.

Implemented in FBackgroundHttpResponseImpl.


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