UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FHttpConnectionResponseWriteContext Struct Referencefinal

#include <HttpConnectionResponseWriteContext.h>

+ Inheritance diagram for FHttpConnectionResponseWriteContext:

Public Member Functions

 FHttpConnectionResponseWriteContext (FSocket *InSocket)
 
EHttpConnectionContextState WriteStream (float DeltaTime)
 
void ResetContext (TUniquePtr< FHttpServerResponse > &&Response)
 
- Public Member Functions inherited from FHttpConnectionContext
void AddElapsedIdleTime (float DeltaTime)
 
FORCEINLINE float GetElapsedIdleTime () const
 
FORCEINLINE EHttpServerResponseCodes GetErrorCode () const
 
FORCEINLINE const FString & GetErrorStr () const
 

Additional Inherited Members

- Protected Member Functions inherited from FHttpConnectionContext
 FHttpConnectionContext ()
 
virtual ~FHttpConnectionContext ()
 
void AddError (const FString &ErrorCodeStr, EHttpServerResponseCodes ErrorCode=EHttpServerResponseCodes::Unknown)
 
- Protected Attributes inherited from FHttpConnectionContext
float ElapsedIdleTime = 0.0f
 
EHttpServerResponseCodes ErrorCode = EHttpServerResponseCodes::Unknown
 
FStringOutputDevice ErrorBuilder
 

Constructor & Destructor Documentation

◆ FHttpConnectionResponseWriteContext()

FHttpConnectionResponseWriteContext::FHttpConnectionResponseWriteContext ( FSocket InSocket)

Constructor

Parameters
InSocketThe underlying connection

Member Function Documentation

◆ ResetContext()

void FHttpConnectionResponseWriteContext::ResetContext ( TUniquePtr< FHttpServerResponse > &&  Response)

Resets the internal state.
Should be called before every write.

Parameters
ResponseThe response to be written

◆ WriteStream()

EHttpConnectionContextState FHttpConnectionResponseWriteContext::WriteStream ( float  DeltaTime)

Writes to the connection

Parameters
DeltaTimeThe elapsed time since the last invocation
Returns
The state of the write context

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