| FTickerObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Online/HTTP/Public/HttpManager.h |
Include |
#include "HttpManager.h" |
class FHttpManager : public FTickerObjectBase
Manages Http request that are currently being processed
Name | Description | ||
---|---|---|---|
|
CorrelationIdMethod |
This method will be called to generate a CorrelationId on all requests being sent if one is not already set |
|
|
GameThreadQueue |
Queue of tasks to run on the game thread |
|
|
Requests |
List of Http requests that are actively being processed |
|
|
FHttpThread ... |
Thread |
Name | Description | |
---|---|---|
|
FHttpManager() |
Constructor |
Name | Description | |
---|---|---|
|
~FHttpManager() |
Destructor |
Name | Description | ||
---|---|---|---|
|
AddGameThreadTask |
Add task to be ran on the game thread next tick |
|
|
AddRequest ( |
Adds an Http request instance to the manager for tracking/ticking Manager should always have a list of requests currently being processed |
|
|
AddThreadedRequest ( |
Add a http request to be executed on the http thread |
|
|
CancelThreadedRequest ( |
Mark a threaded http request as cancelled to be removed from the http thread |
|
|
CreateCorrelationId() |
Create a new correlation id for a request |
|
|
FHttpThread ... |
CreateHttpThread() |
Create HTTP thread object |
|
DumpRequests ( |
List all of the Http requests currently being processed |
|
|
Flush ( |
Block until all pending requests are finished processing |
|
|
FlushTick ( |
Tick called during Flush |
|
|
GetDefaultCorrelationIdMethod() |
Get the default method for creating new correlation ids for a request |
|
|
Initialize() |
Initialize |
|
|
IsDomainAllowed ( |
Determine if the domain is allowed to be accessed |
|
|
IsValidRequest ( |
Find an Http request in the lists of current valid requests |
|
|
OnAfterFork() |
Inform that HTTP Manager that we have completed a fork(). |
|
|
OnBeforeFork() |
Inform that HTTP Manager that we are about to fork(). |
|
|
OnEndFramePostFork() |
Inform the HTTP Manager that we finished ticking right after forking. |
|
|
RemoveRequest ( |
Removes an Http request instance from the manager Presumably it is done being processed |
|
|
SetCorrelationIdMethod |
Set the method used to set a Correlation id on each request, if one is not already specified. |
|
|
SupportsDynamicProxy() |
Method to check dynamic proxy setting support. |
|
|
UpdateConfigs() |
Update configuration. Called when config has been updated and we need to apply any changes. |
Name |
Description |
---|---|
RequestLock |
Used to lock access to add/remove/find requests |