FGenericPlatformHttp::GetUrlDomain

Returns the domain portion of the URL, e.g., "a.b.c" of "http://a.b.c/d"

Windows
MacOS
Linux

References

Module

HTTP

Header

/Engine/Source/Runtime/Online/HTTP/Public/GenericPlatform/GenericPlatformHttp.h

Include

#include "GenericPlatform/GenericPlatformHttp.h"

Source

/Engine/Source/Runtime/Online/HTTP/Private/GenericPlatform/GenericPlatformHttp.cpp

Syntax

static FString GetUrlDomain
(
    const FString & Url
)

Remarks

Returns the domain portion of the URL, e.g., "a.b.c" of "http://a.b.c/d"

Returns

the domain of the specified URL

Parameters

Parameter

Description

Url

the URL to return the domain of

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss