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

#include <HttpPath.h>

Public Member Functions

HTTPSERVER_API FHttpPath ()
 
HTTPSERVER_API FHttpPath (FString InPath)
 
HTTPSERVER_API const FString & GetPath () const
 
HTTPSERVER_API uint32 ParsePathTokens (TArray< FString > &OutPathTokens) const
 
HTTPSERVER_API void SetPath (FString Path)
 
HTTPSERVER_API bool IsValidPath () const
 
HTTPSERVER_API bool IsRoot () const
 
HTTPSERVER_API void MakeRelative (const FString &OtherPath)
 
bool operator== (const FHttpPath &Other) const
 

Friends

uint32 GetTypeHash (const FHttpPath &InPath)
 

Constructor & Destructor Documentation

◆ FHttpPath() [1/2]

FHttpPath::FHttpPath ( )

Constructor

◆ FHttpPath() [2/2]

FHttpPath::FHttpPath ( FString  InPath)

Constructor

Parameters
Path- The http path

Member Function Documentation

◆ GetPath()

const FString & FHttpPath::GetPath ( ) const

Gets the respective http path as a string

◆ IsRoot()

bool FHttpPath::IsRoot ( ) const

Determines if the path is /

◆ IsValidPath()

bool FHttpPath::IsValidPath ( ) const

Determines if the path is valid

◆ MakeRelative()

void FHttpPath::MakeRelative ( const FString &  OtherPath)

Re-path this path sans the path of another MakeRelative(/a/b/c/d, /a/b) => /c/d

Parameters
OtherPathThe path to make relative against

◆ operator==()

bool FHttpPath::operator== ( const FHttpPath Other) const
inline

◆ ParsePathTokens()

uint32 FHttpPath::ParsePathTokens ( TArray< FString > &  OutPathTokens) const

Parses the respective http path into a caller-supplied array

Parameters
OutPathTokensThe caller-allocated tokens array
Returns
The number of tokens parsed

◆ SetPath()

void FHttpPath::SetPath ( FString  Path)

Sets the server-relative http path

Parameters
Paththe new path to assign

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FHttpPath InPath)
friend

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