FHttpPath

Copyright Epic Games, Inc. All Rights Reserved.

Choose your operating system:

Windows

macOS

Linux

References

Module

HttpServer

Header

/Engine/Source/Runtime/Online/HTTPServer/Public/HttpPath.h

Include

#include "HttpPath.h"

Syntax

struct FHttpPath

Remarks

Copyright Epic Games, Inc. All Rights Reserved.

Constructors

Name Description

Public function

FHttpPath()

Constructor

Public function

FHttpPath

(
    FString InPath
)

Constructor

Functions

Name Description

Public function Const

const FStrin...

 

GetPath()

Gets the respective http path as a string

Public function Const

bool

 

IsRoot()

Determines if the path is /

Public function Const

bool

 

IsValidPath()

Determines if the path is valid

Public function

void

 

MakeRelative

(
    const FString& OtherPath
)

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

Public function Const

uint32

 

ParsePathTokens

(
    TArray< FString >& OutPathTokens
)

Parses the respective http path into a caller-supplied array

Public function

void

 

SetPath

(
    FString Path
)

Sets the server-relative http path

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FHttpPath& Other
)

TMap<> Comparer.