// Fill out your copyright notice in the Description page of Project Settings.#pragma once#include "UObject/NoExportTypes.h"#include "Runtime/Online/HTTP/Public/Http.h"#include "HttpDownloader.generated.h"/** * */UCLASS()classMASTERTESTPROJECT_APIUHttpDownloader:publicUObject{GENERATED_BODY()public:UFUNCTION()FStringResolveRealativeURL(constFString&BaseUrl,constFString&RelativeUrl);UFUNCTION()voidDownloadFile(constFString&URL);/*Assign this function to call when the GET request processes sucessfully*/virtualvoidOnResponseReceived(FHttpRequestPtrRequest,FHttpResponsePtrResponse,boolbWasSuccessful);};