UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FHttpManager::FHttpFlushTimeLimit Struct Reference

#include <HttpManager.h>

Public Member Functions

 FHttpFlushTimeLimit (double InSoftLimitSeconds, double InHardLimitSeconds)
 

Public Attributes

double SoftLimitSeconds
 
double HardLimitSeconds
 

Constructor & Destructor Documentation

◆ FHttpFlushTimeLimit()

FHttpManager::FHttpFlushTimeLimit::FHttpFlushTimeLimit ( double  InSoftLimitSeconds,
double  InHardLimitSeconds 
)
inline

Member Data Documentation

◆ HardLimitSeconds

double FHttpManager::FHttpFlushTimeLimit::HardLimitSeconds

After we hit the soft time limit and cancel the requests, we wait some additional time for the canceled requests to go away. If they don't go away in time, we will hit this "hard" time limit that will just stop waiting. If we are shutting down, this is probably fine. If we are flushing for other reasons, This could indicate things lying around, and we'll put out some warning log messages to indicate this. Setting this to < 0 will disable all time limits and the code will wait infinitely for all requests to complete.

◆ SoftLimitSeconds

double FHttpManager::FHttpFlushTimeLimit::SoftLimitSeconds

Designates the amount of time we will wait during a flush before we try to cancel the request. This MUST be strictly < FlushTimeHardLimitSeconds for the logic to work and actually cancel the request, since we must Tick at least one time for the cancel to work. Setting this to 0 will immediately cancel all ongoing requests. A hard limit is still required for this to work. Setting this to < 0 will disable the cancel, but FlushTimeHardLimitSeconds can still be used to stop waiting on requests.


The documentation for this struct was generated from the following file: