Files
UnrealEngine/Engine/Source/Runtime/Experimental/IoStore/OnDemand/Private/DistributionEndpoints.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

35 lines
820 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "Containers/Map.h"
#include "Containers/UnrealString.h"
#include "HAL/CriticalSection.h"
namespace UE::IoStore
{
class FDistributionEndpoints
{
public:
enum class EResult : uint8
{
Success = 0,
Failure
};
FDistributionEndpoints() = default;
~FDistributionEndpoints() = default;
/**
* Queries the distributed endpoint in order to get a list of service urls from which we can download data.
*
* @param DistributionUrl The url of the distributed endpoint to resolve
* @param OutServiceUrls An array into which the resolved urls will be placed
*/
FDistributionEndpoints::EResult ResolveEndpoints(const FString& DistributionUrl, TArray<FString>& OutServiceUrls);
};
} // namespace UE::IoStore