UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
HttpConnectionContext.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3#include "CoreMinimal.h"
6
8{
10 Done,
11 Error
12};
13
14
16{
17
18public:
19
25 void AddElapsedIdleTime(float DeltaTime);
26
31 {
32 return ElapsedIdleTime;
33 }
34
42
46 FORCEINLINE const FString& GetErrorStr() const
47 {
48 return ErrorBuilder;
49 }
50
51protected:
52
57
62
69
71 float ElapsedIdleTime = 0.0f;
72
75
78};
#define FORCEINLINE
Definition AndroidPlatform.h:140
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EHttpConnectionContextState
Definition HttpConnectionContext.h:8
EHttpServerResponseCodes
Definition HttpServerConstants.h:6
Definition StringOutputDevice.h:21
Definition HttpConnectionContext.h:16
FORCEINLINE const FString & GetErrorStr() const
Definition HttpConnectionContext.h:46
void AddError(const FString &ErrorCodeStr, EHttpServerResponseCodes ErrorCode=EHttpServerResponseCodes::Unknown)
Definition HttpConnectionContext.cpp:20
FORCEINLINE EHttpServerResponseCodes GetErrorCode() const
Definition HttpConnectionContext.h:38
float ElapsedIdleTime
Definition HttpConnectionContext.h:71
virtual ~FHttpConnectionContext()
Definition HttpConnectionContext.cpp:11
EHttpServerResponseCodes ErrorCode
Definition HttpConnectionContext.h:74
void AddElapsedIdleTime(float DeltaTime)
Definition HttpConnectionContext.cpp:15
FHttpConnectionContext()
Definition HttpConnectionContext.cpp:6
FStringOutputDevice ErrorBuilder
Definition HttpConnectionContext.h:77
FORCEINLINE float GetElapsedIdleTime() const
Definition HttpConnectionContext.h:30