![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <HttpModule.h>
Inheritance diagram for FHttpModule:Static Public Member Functions | |
| static HTTP_API FHttpModule & | Get () |
Static Public Member Functions inherited from FSelfRegisteringExec | |
| static CORE_API bool | StaticExec (UWorld *Inworld, const TCHAR *Cmd, FOutputDevice &Ar) |
Protected Member Functions | |
| virtual HTTP_API bool | Exec_Runtime (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) override |
Protected Member Functions inherited from FExec | |
| virtual bool | Exec_Dev (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| virtual bool | Exec_Editor (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
Protected Attributes | |
| float | HttpConnectionTimeout |
| float | HttpTotalTimeout |
| float | HttpActivityTimeout |
Module for Http request implementations Use FHttpFactory to create a new Http request
|
inline |
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
| HeaderName | - Name of the header (e.g., "Content-Type") |
| HeaderValue | - Value of the header |
|
virtual |
Instantiates a new Http request for the current platform
|
overrideprotectedvirtual |
Handle exec commands starting with "HTTP"
| InWorld | the world context |
| Cmd | the exec command being executed |
| Ar | the archive to log results to |
Reimplemented from FExec.
|
static |
Singleton-like access to this module's interface. This is just for convenience! Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.
|
inline |
Get the default headers that are appended to every request
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Only meant to be used by Http request/response implementations
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool FHttpModule::HandleHTTPCommand | ( | const TCHAR * | Cmd, |
| FOutputDevice & | Ar | ||
| ) |
Exec command handlers
|
inline |
|
inline |
|
overridevirtual |
Called after Http module is loaded Initialize platform specific parts of Http handling
Reimplemented from IModuleInterface.
|
overridevirtual |
Called before Http module is unloaded Shutdown platform specific parts of Http handling
Reimplemented from IModuleInterface.
Set the min delay time for each http request
|
inline |
Set the target tick rate of an active http thread
|
inline |
Set the minimum sleep time of an active http thread
|
inline |
Set the target tick rate of an idle http thread
|
inline |
Set the minimum sleep time when idle, waiting for requests
Sets the maximum size for the read buffer
| SizeInBytes | The maximum number of bytes to use for the read buffer |
|
inline |
Setter for the proxy address.
| InProxyAddress | - New proxy address to use. |
|
overridevirtual |
Called when Http module is unloaded
Reimplemented from IModuleInterface.
|
overridevirtual |
Called when Http module is loaded load dependant modules
Reimplemented from IModuleInterface.
|
inline |
Method to check dynamic proxy setting support.
| void FHttpModule::UpdateConfigs | ( | ) |
Update all config-based values
|
protected |
timeout in seconds to check there is any ongoing activity on the established connection
|
protected |
timeout in seconds to establish the connection
|
protected |
timeout in seconds for the entire http request to complete. 0 is no timeout