You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-OWNER: ryan.durand #ROBOMERGE-AUTHOR: ryan.durand #ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900 #ROBOMERGE-BOT: (v613-10869866) [CL 10870549 by ryan durand in Main branch]
55 lines
1.5 KiB
C++
55 lines
1.5 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "GenericPlatform/GenericPlatformHttp.h"
|
|
|
|
/**
|
|
* Platform specific Http implementations
|
|
*/
|
|
class FAndroidPlatformHttp : 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();
|
|
|
|
/**
|
|
* Get the proxy address specified by the operating system
|
|
*
|
|
* @return optional FString: If unset: we are unable to get information from the operating system. If set: the proxy address set by the operating system (may be blank)
|
|
*/
|
|
static TOptional<FString> GetOperatingSystemProxyAddress();
|
|
|
|
/**
|
|
* Check if getting proxy information from the current operating system is supported
|
|
* Useful for "Network Settings" type pages. GetProxyAddress may return an empty or populated string but that does not imply
|
|
* the operating system does or does not support proxies (or that it has been implemented here)
|
|
*
|
|
* @return true if we are able to get proxy information from the current operating system, false if not
|
|
*/
|
|
static bool IsOperatingSystemProxyInformationSupported();
|
|
};
|
|
|
|
|
|
typedef FAndroidPlatformHttp FPlatformHttp; |