Files
UnrealEngineUWP/Engine/Source/Runtime/Online/HTTP/Public/Unix/UnixPlatformHttp.h
David Harvey 32952d009e Add missing HTTP_API to many platform http class declarations.
#jira UE-161550
#rnx
#rb Wojciech.Krywult
#preflight 63736719324842530520e63f

[CL 23133660 by David Harvey in ue5-main branch]
2022-11-15 05:25:38 -05:00

45 lines
797 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GenericPlatform/GenericPlatformHttp.h"
class FHttpManager;
class IHttpRequest;
/**
* Platform specific Http implementations
*/
class HTTP_API FUnixPlatformHttp : public FGenericPlatformHttp
{
public:
/**
* Platform initialization step
*/
static void Init();
/**
* Creates a platform-specific HTTP manager.
*
* @return NULL if default implementation is to be used
*/
static FHttpManager* CreatePlatformHttpManager();
/**
* Platform shutdown step
*/
static void Shutdown();
/**
* Creates a new Http request instance for the current platform
*
* @return request object
*/
static IHttpRequest* ConstructRequest();
};
typedef FUnixPlatformHttp FPlatformHttp;