Files
UnrealEngineUWP/Engine/Source/Programs/Unsync/Private/UnsyncCmdQuery.h
yuriy odonnell 8c7bdecb04 unsync - Add support for direct manifest download from proxy server (bypassing SMB)
* Add --login flag to sync command
* Add in-process token cache
* Add auth token when quering server features
* Use direct download path when supported by server

#jira UE-192913
#rb none

[CL 27535921 by yuriy odonnell in ue5-main branch]
2023-08-31 16:20:09 -04:00

31 lines
516 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "UnsyncCommon.h"
#include "UnsyncRemote.h"
#include <string>
namespace unsync {
struct FCmdQueryOptions
{
std::string Query;
std::string Args;
FPath OutputPath;
FRemoteDesc Remote;
};
int32 CmdQuery(const FCmdQueryOptions& Options);
struct FMirrorInfo
{
std::string Name;
std::string Address;
uint16 Port = UNSYNC_DEFAULT_PORT;
double Ping = 0;
};
TResult<FMirrorInfo> FindClosestMirror(const FRemoteDesc& Remote);
} // namespace unsync