Module for Http request implementations Use FHttpFactory to create a new Http request
更多...
|
| void | AddDefaultHeader (const FString &HeaderName, const FString &HeaderValue) |
| | 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 更多...
|
| |
| virtual TSharedRef< IHttpRequest, ESPMode::ThreadSafe > | CreateRequest () |
| | Instantiates a new Http request for the current platform 更多...
|
| |
| virtual bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) override |
| | Handle exec commands starting with "HTTP" 更多...
|
| |
| const TArray< FString > & | GetAllowedDomains () const |
| |
| const TMap< FString, FString > & | GetDefaultHeaders () const |
| | Get the default headers that are appended to every request 更多...
|
| |
| float | GetHttpConnectionTimeout () const |
| |
| float | GetHttpDelayTime () const |
| |
| FHttpManager & | GetHttpManager () |
| | Only meant to be used by Http request/response implementations 更多...
|
| |
| int32 | GetHttpMaxConnectionsPerServer () const |
| |
| float | GetHttpReceiveTimeout () const |
| |
| float | GetHttpSendTimeout () const |
| |
| float | GetHttpThreadActiveFrameTimeInSeconds () const |
| |
| float | GetHttpThreadActiveMinimumSleepTimeInSeconds () const |
| |
| float | GetHttpThreadIdleFrameTimeInSeconds () const |
| |
| float | GetHttpThreadIdleMinimumSleepTimeInSeconds () const |
| |
| float | GetHttpTimeout () const |
| |
| int32 | GetMaxReadBufferSize () const |
| |
| const FString & | GetProxyAddress () const |
| |
|
bool | HandleHTTPCommand (const TCHAR *Cmd, FOutputDevice &Ar) |
| | Exec command handlers
|
| |
| bool | IsHttpEnabled () const |
| |
| bool | IsNullHttpEnabled () const |
| |
|
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 | SupportsDynamicProxy () const |
| | Method to check dynamic proxy setting support. 更多...
|
| |
|
void | ToggleNullHttp (bool bEnabled) |
| | toggle null http implementation
|
| |
|
HTTP_API void | UpdateConfigs () |
| | Update all config-based values
|
| |
| virtual bool | IsGameModule () const |
| | Returns true if this module hosts gameplay code 更多...
|
| |
|
virtual void | PostLoadCallback () |
| | Called after the module has been reloaded
|
| |
|
virtual void | PreUnloadCallback () |
| | Called before the module has been unloaded
|
| |
| virtual void | ShutdownModule () |
| | Called before the module is unloaded, right before the module object is destroyed. 更多...
|
| |
| virtual void | StartupModule () |
| | Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多...
|
| |
| virtual bool | SupportsAutomaticShutdown () |
| | Override this to set whether your module would like cleanup on application shutdown 更多...
|
| |
| virtual bool | SupportsDynamicReloading () |
| | Override this to set whether your module is allowed to be unloaded on the fly 更多...
|
| |
|
virtual | ~IModuleInterface () |
| | Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface
|
| |
|
| FSelfRegisteringExec () |
| | Constructor, registering this instance.
|
| |
|
virtual | ~FSelfRegisteringExec () |
| | Destructor, unregistering this instance.
|
| |
Module for Http request implementations Use FHttpFactory to create a new Http request