Navigation
API > API/Runtime > API/Runtime/HTTP > API/Runtime/HTTP/IHttpRequest
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetContent
(
const TArray< uint8 >& ContentPayload |
Sets the content of the request (optional data). Usually only set for POST requests. | Interfaces/IHttpRequest.h | |
void SetContent
(
TArray< uint8 >&& ContentPayload |
Sets the content of the request (optional data). | Interfaces/IHttpRequest.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/Interfaces/IHttpRequest.h |
| Include Path | #include "Interfaces/IHttpRequest.h" |
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/Interfaces/IHttpRequest.h |
| Include Path | #include "Interfaces/IHttpRequest.h" |
void SetContent
(
TArray < uint8 > && ContentPayload
)
Parameters
| Name | Remarks |
|---|---|
| ContentPayload | payload to set. |