Navigation
API > API/Runtime > API/Runtime/HTTP
Base interface for Http Requests and Responses.
| Name | IHttpBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/Interfaces/IHttpBase.h |
| Include Path | #include "Interfaces/IHttpBase.h" |
Syntax
class IHttpBase
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IHttpBase() |
Destructor for overrides | Interfaces/IHttpBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Return all headers in an array in "Name: Value" format. | Interfaces/IHttpBase.h | ||
const TArray< uint8 > & GetContent() |
Get the content payload of the request or response. | Interfaces/IHttpBase.h | |
uint64 GetContentLength () |
Shortcut to get the Content-Length header value. | Interfaces/IHttpBase.h | |
FString GetContentType() |
Shortcut to get the Content-Type header value (if available) | Interfaces/IHttpBase.h | |
const FString & GetEffectiveURL() |
Get the effective URL in case of redirected. If not redirected, it's the same as GetURL | Interfaces/IHttpBase.h | |
EHttpFailureReason GetFailureReason() |
Get the reason of th failure if GetStatus returns Failed | Interfaces/IHttpBase.h | |
| Gets the value of a header, or empty string if not found. | Interfaces/IHttpBase.h | ||
EHttpRequestStatus::Type GetStatus() |
Get the current status of the request being processed | Interfaces/IHttpBase.h | |
const FString & GetURL() |
Get the URL used to send the request. | Interfaces/IHttpBase.h | |
FString GetURLParameter
(
const FString& ParameterName |
Gets an URL parameter. | Interfaces/IHttpBase.h |