Navigation
API > API/Runtime > API/Runtime/HTTP > API/Runtime/HTTP/GenericPlatform
Inheritance Hierarchy
- IHttpBase
- IHttpResponse
- FHttpResponseCommon
References
| Module | HTTP |
| Header | /Engine/Source/Runtime/Online/HTTP/Public/GenericPlatform/HttpResponseCommon.h |
| Include | #include "GenericPlatform/HttpResponseCommon.h" |
Syntax
class FHttpResponseCommon : public IHttpResponse
Remarks
Contains implementation of some common functions that don't vary between implementations of different platforms
Variables
| Type | Name | Description | |
|---|---|---|---|
| EHttpRequestStatus::Type | CompletionStatus | ||
| FString | EffectiveURL | ||
| EHttpFailureReason | FailureReason | ||
| int32 | ResponseCode | ||
| FString | URL |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FHttpResponseCommon
(
const FHttpRequestCommon& HttpRequest |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetEffectiveURL
(
const FString& InEffectiveURL |
||
| void | SetRequestFailureReason
(
EHttpFailureReason InFailureReason |
||
| void | SetRequestStatus
(
EHttpRequestStatus::Type InCompletionStatus |
||
| void | SetResponseCode
(
int32 InResponseCode |
Overridden from IHttpResponse
| Type | Name | Description | |
|---|---|---|---|
| int32 | Gets the response code returned by the requested server. |
Overridden from IHttpBase
| Type | Name | Description | |
|---|---|---|---|
| const FString & | Get the effective URL in case of redirected. If not redirected, it's the same as GetURL | ||
| EHttpFailureReason | Get the reason of th failure if GetStatus returns Failed | ||
| EHttpRequestStatus::Type | GetStatus () |
Get the current status of the request being processed | |
| FString | GetURL () |
Get the URL used to send the request. | |
| FString | GetURLParameter
(
const FString& ParameterName |
IHttpBase. |