Navigation
API > API/Runtime > API/Runtime/HTTP
Utility structure to help with building the HTTP user agent string.
| Name | FDefaultUserAgentBuilder |
| Type | class |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/GenericPlatform/GenericPlatformHttp.h |
| Include Path | #include "GenericPlatform/GenericPlatformHttp.h" |
Syntax
class FDefaultUserAgentBuilder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDefaultUserAgentBuilder() |
GenericPlatform/GenericPlatformHttp.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AgentVersion | uint32 | GenericPlatform/GenericPlatformHttp.h | ||
| PlatformComments | TArray< FString > | GenericPlatform/GenericPlatformHttp.h | ||
| PlatformName | FString | GenericPlatform/GenericPlatformHttp.h | ||
| PlatformVersion | FString | GenericPlatform/GenericPlatformHttp.h | ||
| ProjectComments | TArray< FString > | GenericPlatform/GenericPlatformHttp.h | ||
| ProjectName | FString | GenericPlatform/GenericPlatformHttp.h | ||
| ProjectVersion | FString | GenericPlatform/GenericPlatformHttp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPlatformComment
(
const FString& InComment |
GenericPlatform/GenericPlatformHttp.h | ||
void AddProjectComment
(
const FString& InComment |
GenericPlatform/GenericPlatformHttp.h | ||
FString BuildUserAgentString
(
const TSet< FString >* AllowedProjectCommentsFilter, |
Build the user agent string. | GenericPlatform/GenericPlatformHttp.h | |
uint32 GetAgentVersion () |
Get the builder version. | GenericPlatform/GenericPlatformHttp.h | |
void SetPlatformName
(
const FString& InPlatformName |
GenericPlatform/GenericPlatformHttp.h | ||
void SetPlatformVersion
(
const FString& InPlatformVersion |
GenericPlatform/GenericPlatformHttp.h | ||
void SetProjectName
(
const FString& InProjectName |
GenericPlatform/GenericPlatformHttp.h | ||
void SetProjectVersion
(
const FString& InProjectVersion |
GenericPlatform/GenericPlatformHttp.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GenericPlatform/GenericPlatformHttp.h |