Navigation
API > API/Runtime > API/Runtime/HTTP > API/Runtime/HTTP/FHttpRequestAdapterBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetContent
(
const TArray< uint8 >& ContentPayload |
Sets the content of the request (optional data). Usually only set for POST requests. | HttpRequestAdapter.h | |
virtual void SetContent
(
TArray< uint8 >&& ContentPayload |
Sets the content of the request (optional data). | HttpRequestAdapter.h |
SetContent(const TArray< uint8 > &)
Description
Sets the content of the request (optional data). Usually only set for POST requests.
| Name | SetContent |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/HttpRequestAdapter.h |
| Include Path | #include "HttpRequestAdapter.h" |
| Source | /Engine/Source/Runtime/Online/HTTP/Private/HttpRequestAdapter.cpp |
virtual void SetContent
(
const TArray < uint8 > & ContentPayload
)
Parameters
| Name | Remarks |
|---|---|
| ContentPayload | payload to set. |
SetContent(TArray< uint8 > &&)
Description
Sets the content of the request (optional data). Usually only set for POST requests.
This version lets the API take ownership of the payload directly, helpful for larger payloads.
| Name | SetContent |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/HttpRequestAdapter.h |
| Include Path | #include "HttpRequestAdapter.h" |
| Source | /Engine/Source/Runtime/Online/HTTP/Private/HttpRequestAdapter.cpp |
virtual void SetContent
(
TArray < uint8 > && ContentPayload
)
Parameters
| Name | Remarks |
|---|---|
| ContentPayload | payload to set. |