Files
UnrealEngine/Engine/Source/Runtime/Online/HTTP/Private/Apple/AppleHttpManager.cpp
2025-05-18 13:04:45 +08:00

23 lines
591 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "Apple/AppleHttpManager.h"
#include "Apple/AppleEventLoopHttpThread.h"
#include "HAL/IConsoleManager.h"
#include "Math/UnrealMathUtility.h"
#include "Misc/CommandLine.h"
#include "HttpModule.h"
#include "Http.h"
FHttpThreadBase* FAppleHttpManager::CreateHttpThread()
{
if (bUseEventLoop)
{
UE_LOG(LogHttp, Log, TEXT("CreateHttpThread using FAppleEventLoopHttpThread"));
return new FAppleEventLoopHttpThread();
}
UE_LOG(LogHttp, Log, TEXT("CreateHttpThread using FLegacyHttpThread"));
return new FLegacyHttpThread();
}