FGenericPlatformHttp::GetDefaultUserAgent

Returns the default User-Agent string to use in HTTP requests.

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 GetDefaultUserAgent()

Remarks

Returns the default User-Agent string to use in HTTP requests. Requests that explicitly set the User-Agent header will not use this value.

Returns

the default User-Agent string that requests should use.

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