![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 |
| FHttpConnectionResponseWriteContext::FHttpConnectionResponseWriteContext | ( | FSocket * | InSocket | ) |
Constructor
| InSocket | The underlying connection |
| void FHttpConnectionResponseWriteContext::ResetContext | ( | TUniquePtr< FHttpServerResponse > && | Response | ) |
Resets the internal state.
Should be called before every write.
| Response | The response to be written |
| EHttpConnectionContextState FHttpConnectionResponseWriteContext::WriteStream | ( | float | DeltaTime | ) |
Writes to the connection
| DeltaTime | The elapsed time since the last invocation |