UPlatformInterfaceWebResponse

This is the a generic web response object that holds the entirety of the web response made from PlatformInterfaceBase subclasses

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UPlatformInterfaceWebResponse

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/PlatformInterfaceWebResponse.h

Include

#include "Engine/PlatformInterfaceWebResponse.h"

Syntax

class UPlatformInterfaceWebResponse : public UObject

Remarks

This is the a generic web response object that holds the entirety of the web response made from PlatformInterfaceBase subclasses

Variables

Name Description

Public variable

TArray< uint8 >

 

BinaryResponse

For non-string results, this is the response

Public variable

TMap< FString, ...

 

Headers

Response headers and their values

Public variable

FString

 

OriginalURL

This holds the original requested URL

Public variable

int32

 

ResponseCode

Result code from the response (200=OK, 404=Not Found, etc)

Public variable

FString

 

StringResponse

For string results, this is the response

Public variable

int32

 

Tag

A user-specified tag specified with the request

Constructors

Name Description

Public function

UPlatformInterfaceWebResponse

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

void

 

GetHeader

(
    int32 HeaderIndex,
    FString& Header,
    FString& Value
)

Retrieve the header and value for the given index of header/value pair

Public function Virtual

FString

 

GetHeaderValue

(
    const FString& HeaderName
)

Public function Virtual

int32

 

GetNumHeaders()

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