Navigation
API > API/Runtime > API/Runtime/HTTP > API/Runtime/HTTP/FGenericPlatformHttp
Description
Returns the default User-Agent string to use in HTTP requests. Requests that explicitly set the User-Agent header will not use this value.
The default User-Agent is built in the format "project/version (comments) platform/OS version (comments)"
| Name | GetDefaultUserAgent |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/GenericPlatform/GenericPlatformHttp.h |
| Include Path | #include "GenericPlatform/GenericPlatformHttp.h" |
| Source | /Engine/Source/Runtime/Online/HTTP/Private/GenericPlatform/GenericPlatformHttp.cpp |
static FString GetDefaultUserAgent()
the default User-Agent string that requests should use.