![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DownloadService.h>
Inheritance diagram for BuildPatchServices::IDownloadService:Public Member Functions | |
| virtual | ~IDownloadService () |
| virtual int32 | RequestFile (const FString &FileUri, const FDownloadCompleteDelegate &OnCompleteDelegate, const FDownloadProgressDelegate &OnProgressDelegate)=0 |
| virtual int32 | RequestFileWithHeaders (const FString &FileUri, const TMap< FString, FString > &RequestHeaders, const FDownloadCompleteDelegate &OnCompleteDelegate, const FDownloadProgressDelegate &OnProgressDelegate)=0 |
| virtual void | RequestCancel (int32 RequestId)=0 |
| virtual void | RequestAbandon (int32 RequestId)=0 |
An interface providing access to download files, supporting http(s) and network protocols.
|
inlinevirtual |
Requests the abandoning of a requested file (cancelling without calling complete/progress handlers)
| RequestId | The id that was returned by the call to RequestFile which should be canceled. |
Implemented in BuildPatchServices::FDownloadService.
Requests the cancellation of a requested file.
| RequestId | The id that was returned by the call to RequestFile which should be canceled. |
Implemented in BuildPatchServices::FDownloadService.
|
pure virtual |
Starts a new request for a file.
| FileUri | The uri for the file request. For http(s), this should begin with the protocol. |
| OnCompleteDelegate | The delegate that will be called with the completed download. |
| OnProgressDelegate | The delegate that will be called with updates to the ongoing download. |
Implemented in BuildPatchServices::FDownloadService.
|
pure virtual |
As per RequestFile, except adds the given headers to the request as a <Name, Value> pair.
Implemented in BuildPatchServices::FDownloadService.