FGenericPlatformHttp::GetUrlParameter

Extract the URL-Decoded value of the specified ParameterName from Url.

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 TOptional< FString > GetUrlParameter
(
    const FStringView Url,
    const FStringView ParameterName
)

Remarks

Extract the URL-Decoded value of the specified ParameterName from Url. An unset return means the parameter was not present in Url, while an empty value means it was present, but had no value.

Returns

If ParameterName was found, the string value of its value (in URL Decoded format), otherwise the return value is unset

Parameters

Parameter

Description

Url

The URL to parse for ParameterName

ParameterName

The parameter name to look for

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