Navigation
API > API/Runtime > API/Runtime/HTTP
Interface for Http responses that come back after starting an Http request
| Name | IHttpResponse |
| Type | class |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/Interfaces/IHttpResponse.h |
| Include Path | #include "Interfaces/IHttpResponse.h" |
Syntax
class IHttpResponse : public IHttpBase
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IHttpResponse() |
Destructor for overrides | Interfaces/IHttpResponse.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetContentAsString() |
Returns the payload as a string, assuming the payload is UTF8. | Interfaces/IHttpResponse.h | |
FUtf8StringView GetContentAsUtf8StringView () |
Returns the payload as a utf8 string view. | Interfaces/IHttpResponse.h | |
int32 GetResponseCode () |
Gets the response code returned by the requested server. | Interfaces/IHttpResponse.h |