![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "HttpManager.h"#include "HttpModule.h"#include "HAL/IConsoleManager.h"#include "HAL/PlatformTime.h"#include "HAL/PlatformProcess.h"#include "Misc/ScopeLock.h"#include "Http.h"#include "Misc/App.h"#include "Misc/Guid.h"#include "Misc/Fork.h"#include "HttpThread.h"#include "GenericPlatform/HttpRequestCommon.h"#include "Misc/ConfigCacheIni.h"#include "Misc/CommandLine.h"#include "ProfilingDebugging/CsvProfiler.h"#include "Stats/Stats.h"#include "Containers/BackgroundableTicker.h"Namespaces | |
| namespace | HttpManagerInternal |
Functions | |
| const TCHAR * | LexToString (const EHttpFlushReason &FlushReason) |
| CSV_DEFINE_CATEGORY (HttpManager, true) | |
| CSV_DEFINE_STAT (HttpManager, RequestsInQueue) | |
| CSV_DEFINE_STAT (HttpManager, MaxRequestsInQueue) | |
| CSV_DEFINE_STAT (HttpManager, RequestsInFlight) | |
| CSV_DEFINE_STAT (HttpManager, MaxRequestsInFlight) | |
| CSV_DEFINE_STAT (HttpManager, MaxTimeToWaitInQueue) | |
| CSV_DEFINE_STAT (HttpManager, DownloadedMB) | |
| CSV_DEFINE_STAT (HttpManager, BandwidthMbps) | |
| CSV_DEFINE_STAT (HttpManager, DurationMsAvg) | |
Variables | |
| TAutoConsoleVariable< int32 > | CVarHttpEventLoopEnableChance (TEXT("http.CurlEventLoopEnableChance"), UE_HTTP_EVENT_LOOP_ENABLE_CHANCE_BY_DEFAULT, TEXT("Enable chance of event loop, from 0 to 100"), ECVF_SaveForNextBoot) |
| TAutoConsoleVariable< FString > | CVarHttpUrlPatternsToLogResponse (TEXT("http.UrlPatternsToLogResponse"), TEXT(""), TEXT("List of url patterns to log headers and json content: \"epicgames.com unrealengine.com ...\""), ECVF_SaveForNextBoot) |
| TAutoConsoleVariable< FString > | CVarHttpUrlPatternsToDisableFailedLog (TEXT("http.UrlPatternsToDisableFailedLog"), TEXT(""),) |
| TAutoConsoleVariable< FString > | CVarHttpUrlPatternsToMockResponse (TEXT("http.UrlPatternsToMockResponse"), TEXT(""), TEXT("List of url patterns to mock failure with response code, 0 indicates ConnectionError: \"epicgames.com->0 unrealengine.com->503 ...\""), ECVF_SaveForNextBoot) |
| TAutoConsoleVariable< bool > | CVarHttpRemoveRequestUsingHttpThreadPolicyOnHttpThread (TEXT("http.RemoveRequestUsingHttpThreadPolicyOnHttpThread"), true, TEXT("When enabled, if http request use CompleteOnHttpThread, once complete it will be removed from http manager on http thread"), ECVF_SaveForNextBoot) |
| CSV_DEFINE_CATEGORY | ( | HttpManager | , |
| true | |||
| ) |
| CSV_DEFINE_STAT | ( | HttpManager | , |
| BandwidthMbps | |||
| ) |
| CSV_DEFINE_STAT | ( | HttpManager | , |
| DownloadedMB | |||
| ) |
| CSV_DEFINE_STAT | ( | HttpManager | , |
| DurationMsAvg | |||
| ) |
| CSV_DEFINE_STAT | ( | HttpManager | , |
| MaxRequestsInFlight | |||
| ) |
| CSV_DEFINE_STAT | ( | HttpManager | , |
| MaxRequestsInQueue | |||
| ) |
| CSV_DEFINE_STAT | ( | HttpManager | , |
| MaxTimeToWaitInQueue | |||
| ) |
| CSV_DEFINE_STAT | ( | HttpManager | , |
| RequestsInFlight | |||
| ) |
| CSV_DEFINE_STAT | ( | HttpManager | , |
| RequestsInQueue | |||
| ) |
| const TCHAR * LexToString | ( | const EHttpFlushReason & | FlushReason | ) |
| TAutoConsoleVariable< int32 > CVarHttpEventLoopEnableChance(TEXT("http.CurlEventLoopEnableChance"), UE_HTTP_EVENT_LOOP_ENABLE_CHANCE_BY_DEFAULT, TEXT("Enable chance of event loop, from 0 to 100"), ECVF_SaveForNextBoot) | ( | TEXT("http.CurlEventLoopEnableChance") | , |
| UE_HTTP_EVENT_LOOP_ENABLE_CHANCE_BY_DEFAULT | , | ||
| TEXT("Enable chance of event loop, from 0 to 100") | , | ||
| ECVF_SaveForNextBoot | |||
| ) |
| TAutoConsoleVariable< bool > CVarHttpRemoveRequestUsingHttpThreadPolicyOnHttpThread(TEXT("http.RemoveRequestUsingHttpThreadPolicyOnHttpThread"), true, TEXT("When enabled, if http request use CompleteOnHttpThread, once complete it will be removed from http manager on http thread"), ECVF_SaveForNextBoot) | ( | TEXT("http.RemoveRequestUsingHttpThreadPolicyOnHttpThread") | , |
| true | , | ||
| TEXT("When enabled, if http request use CompleteOnHttpThread, once complete it will be removed from http manager on http thread") | , | ||
| ECVF_SaveForNextBoot | |||
| ) |
| TAutoConsoleVariable< FString > CVarHttpUrlPatternsToDisableFailedLog(TEXT("http.UrlPatternsToDisableFailedLog"), TEXT(""),) | ( | TEXT("http.UrlPatternsToDisableFailedLog") | , |
| TEXT("") | |||
| ) |
| TAutoConsoleVariable< FString > CVarHttpUrlPatternsToLogResponse(TEXT("http.UrlPatternsToLogResponse"), TEXT(""), TEXT("List of url patterns to log headers and json content: \"epicgames.com unrealengine.com ...\""), ECVF_SaveForNextBoot) | ( | TEXT("http.UrlPatternsToLogResponse") | , |
| TEXT("") | , | ||
| TEXT("List of url patterns to log headers and json content: \"epicgames.com unrealengine.com ...\"") | , | ||
| ECVF_SaveForNextBoot | |||
| ) |
| TAutoConsoleVariable< FString > CVarHttpUrlPatternsToMockResponse(TEXT("http.UrlPatternsToMockResponse"), TEXT(""), TEXT("List of url patterns to mock failure with response code, 0 indicates ConnectionError: \"epicgames.com->0 unrealengine.com->503 ...\""), ECVF_SaveForNextBoot) | ( | TEXT("http.UrlPatternsToMockResponse") | , |
| TEXT("") | , | ||
| TEXT("List of url patterns to mock failure with response code, 0 indicates ConnectionError: \"epicgames.com->0 unrealengine.com->503 ...\"") | , | ||
| ECVF_SaveForNextBoot | |||
| ) |