Navigation
Unreal Engine C++ API Reference > Runtime > HTTP
Inheritance Hierarchy
- IModuleInterface
- FSelfRegisteringExec
- FHttpModule
References
Module | HTTP |
Header | /Engine/Source/Runtime/Online/HTTP/Public/HttpModule.h |
Include | #include "HttpModule.h" |
Syntax
class FHttpModule :
public IModuleInterface ,
public FSelfRegisteringExec
Remarks
Module for Http request implementations Use FHttpFactory to create a new Http request
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | HttpActivityTimeout | Timeout in seconds to check there is any ongoing activity on the established connection |
![]() |
float | HttpConnectionTimeout | Timeout in seconds to establish the connection |
![]() |
float | HttpTotalTimeout | Timeout in seconds for the entire http request to complete. 0 is no timeout |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddDefaultHeader
(
const FString& HeaderName, |
Add a default header to be appended to future requests If a request already specifies this header, then the defaulted version will not be used |
![]() ![]() |
TSharedRef< IHttpRequest, ESPMode::ThreadSafe > | Instantiates a new Http request for the current platform | |
![]() ![]() |
FHttpModule & | Get () |
Singleton-like access to this module's interface. |
![]() ![]() |
const TArray< FString > & | ||
![]() ![]() |
const TMap< FString, FString > & | Get the default headers that are appended to every request | |
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() |
FHttpManager & | Only meant to be used by Http request/response implementations | |
![]() ![]() |
int32 | ||
![]() ![]() |
const FString & | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
int32 | ||
![]() ![]() |
const FString & | ||
![]() |
bool | HandleHTTPCommand
(
const TCHAR* Cmd, |
Exec command handlers |
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() |
void | SetHttpDelayTime
(
float InHttpDelayTime |
Set the min delay time for each http request |
![]() |
void | SetHttpThreadActiveFrameTimeInSeconds
(
float InHttpThreadActiveFrameTimeInSeconds |
Set the target tick rate of an active http thread |
![]() |
void | SetHttpThreadActiveMinimumSleepTimeInSeconds
(
float InHttpThreadActiveMinimumSleepTimeInSeconds |
Set the minimum sleep time of an active http thread |
![]() |
void | SetHttpThreadIdleFrameTimeInSeconds
(
float InHttpThreadIdleFrameTimeInSeconds |
Set the target tick rate of an idle http thread |
![]() |
void | SetHttpThreadIdleMinimumSleepTimeInSeconds
(
float InHttpThreadIdleMinimumSleepTimeInSeconds |
Set the minimum sleep time when idle, waiting for requests |
![]() |
void | SetHttpTimeout
(
float TimeOutInSec |
Sets timeout in seconds for the entire http request to complete |
![]() |
void | SetMaxReadBufferSize
(
int32 SizeInBytes |
Sets the maximum size for the read buffer |
![]() |
void | SetProxyAddress
(
const FString& InProxyAddress |
Setter for the proxy address. |
![]() ![]() |
bool | Method to check dynamic proxy setting support. | |
![]() |
void | ToggleNullHttp
(
bool bEnabled |
Toggle null http implementation |
![]() |
void | Update all config-based values |
Overridden from FExec
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Exec_Runtime
(
UWorld* InWorld, |
Handle exec commands starting with "HTTP" |
Constants
Name | Description |
---|---|
Singleton | Singleton for the module while loaded and available |