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

#include <HttpConnection.h>

+ Inheritance diagram for FHttpConnection:

Public Member Functions

 FHttpConnection (FSocket *InSocket, TSharedPtr< FHttpRouter > InRouter, uint32 InOriginPort, uint32 InConnectionId)
 
 ~FHttpConnection ()
 
void Tick (float DeltaTime)
 
FORCEINLINE EHttpConnectionState GetState () const
 
void RequestDestroy (bool bGraceful)
 
FORCEINLINE bool IsHttpKeepAliveEnabled () const
 
FORCEINLINE bool operator== (const FHttpConnection &Other) const
 
- Public Member Functions inherited from TSharedFromThis< FHttpConnection >
TSharedRef< FHttpConnection, Mode > AsShared ()
 
TSharedRef< FHttpConnection const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FHttpConnection, Mode > AsWeak ()
 
TWeakPtr< FHttpConnection const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Friends

uint32 GetTypeHash (const FHttpConnection &Conn)
 

Additional Inherited Members

- Protected Member Functions inherited from TSharedFromThis< FHttpConnection >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FHttpConnection >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Constructor & Destructor Documentation

◆ FHttpConnection()

FHttpConnection::FHttpConnection ( FSocket InSocket,
TSharedPtr< FHttpRouter InRouter,
uint32  InOriginPort,
uint32  InConnectionId 
)

Constructor

Parameters
InSocketThe underlying file descriptor

◆ ~FHttpConnection()

FHttpConnection::~FHttpConnection ( )

Destructor

Member Function Documentation

◆ GetState()

FORCEINLINE EHttpConnectionState FHttpConnection::GetState ( ) const
inline

Returns the current state of the connection

◆ IsHttpKeepAliveEnabled()

FORCEINLINE bool FHttpConnection::IsHttpKeepAliveEnabled ( ) const
inline

Determines whether this connection should remain open after writing

◆ operator==()

FORCEINLINE bool FHttpConnection::operator== ( const FHttpConnection Other) const
inline

◆ RequestDestroy()

void FHttpConnection::RequestDestroy ( bool  bGraceful)

Signals the connection to destroy itself

Parameters
bGracefulWhether to gracefully destroy pending current operations

◆ Tick()

void FHttpConnection::Tick ( float  DeltaTime)

Ticks the connection to drive internal state

Parameters
DeltaTimeThe elapsed time since the last Tick()

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FHttpConnection Conn)
friend

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