You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds [CL 26082269 by henrik karlsson in ue5-main branch]
45 lines
824 B
C++
45 lines
824 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 FUnixPlatformHttp : public FGenericPlatformHttp
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Platform initialization step
|
|
*/
|
|
static HTTP_API void Init();
|
|
|
|
/**
|
|
* Creates a platform-specific HTTP manager.
|
|
*
|
|
* @return NULL if default implementation is to be used
|
|
*/
|
|
static HTTP_API FHttpManager* CreatePlatformHttpManager();
|
|
|
|
/**
|
|
* Platform shutdown step
|
|
*/
|
|
static HTTP_API void Shutdown();
|
|
|
|
/**
|
|
* Creates a new Http request instance for the current platform
|
|
*
|
|
* @return request object
|
|
*/
|
|
static HTTP_API IHttpRequest* ConstructRequest();
|
|
};
|
|
|
|
|
|
typedef FUnixPlatformHttp FPlatformHttp;
|