5 #include "CoreMinimal.h" 6 #include "Interfaces/IHttpRequest.h" 7 #include "CustomFileDownloader.generated.h" 12 DECLARE_DELEGATE(FDownloadComplete)
19 UFUNCTION(BlueprintCallable)
21 UFUNCTION(BlueprintCallable)
22 void ConvertOSMInOpenDrive(FString FilePath,
float Lat_0 = 0,
float Lon_0 = 0);
31 void RequestComplete(FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse,
bool bSucceeded);
44 FHttpDownloader(
const FString& InVerb,
const FString& InUrl,
const FString& InFilename, FDownloadComplete& Delegate );
56 void RequestComplete(FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse,
bool bSucceeded);
FHttpDownloader(const FString &InVerb, const FString &InUrl, const FString &InFilename, FDownloadComplete &Delegate)
FDownloadComplete DelegateToCall
FDownloadComplete DownloadDelegate
void RequestComplete(FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
Delegate called when the request completes.