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

#include <DownloadService.h>

+ Inheritance diagram for BuildPatchServices::IDownload:

Public Member Functions

virtual ~IDownload ()
 
virtual bool RequestSuccessful () const =0
 
virtual bool ResponseSuccessful () const =0
 
virtual int32 GetResponseCode () const =0
 
virtual const TArray< uint8 > & GetData () const =0
 

Detailed Description

An interface providing access to the result of a download.

Constructor & Destructor Documentation

◆ ~IDownload()

virtual BuildPatchServices::IDownload::~IDownload ( )
inlinevirtual

Member Function Documentation

◆ GetData()

virtual const TArray< uint8 > & BuildPatchServices::IDownload::GetData ( ) const
pure virtual

Get a reference to the downloaded data held by this class.

Returns
reference to downloaded bytes.

Implemented in BuildPatchServices::FHttpDownload, and BuildPatchServices::FFileDownload.

◆ GetResponseCode()

virtual int32 BuildPatchServices::IDownload::GetResponseCode ( ) const
pure virtual

Gets the response code, or INDEX_NONE if response failed.

Returns
the response code.

Implemented in BuildPatchServices::FHttpDownload, and BuildPatchServices::FFileDownload.

◆ RequestSuccessful()

virtual bool BuildPatchServices::IDownload::RequestSuccessful ( ) const
pure virtual

Gets whether the request was successfully made.

Returns
true for success.

Implemented in BuildPatchServices::FHttpDownload, and BuildPatchServices::FFileDownload.

◆ ResponseSuccessful()

virtual bool BuildPatchServices::IDownload::ResponseSuccessful ( ) const
pure virtual

Gets whether the response was received and indicated good status.

Returns
true for success.

Implemented in BuildPatchServices::FHttpDownload, and BuildPatchServices::FFileDownload.


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