Navigation
API > API/Runtime > API/Runtime/HTTP
Abstraction that encapsulates the location of a request payload
| Name | FRequestPayload |
| Type | class |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/GenericPlatform/HttpRequestPayload.h |
| Include Path | #include "GenericPlatform/HttpRequestPayload.h" |
Syntax
class FRequestPayload
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRequestPayload() |
GenericPlatform/HttpRequestPayload.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Close() |
Close the upload payload when the http request don't need to use it anymore | GenericPlatform/HttpRequestPayload.h | |
size_t FillOutputBuffer
(
TArrayView< uint8 > OutputBuffer, |
Read part of the underlying request payload into an output buffer. | GenericPlatform/HttpRequestPayload.h | |
size_t FillOutputBuffer
(
void* OutputBuffer, |
Read part of the underlying request payload into an output buffer. | GenericPlatform/HttpRequestPayload.h | |
const TArray< uint8 > & GetContent() |
Return a reference to the underlying memory buffer. Only valid for in-memory request payloads | GenericPlatform/HttpRequestPayload.h | |
uint64 GetContentLength() |
Get the total content length of the request payload in bytes | GenericPlatform/HttpRequestPayload.h | |
bool IsURLEncoded () |
Check if the request payload is URL encoded. | GenericPlatform/HttpRequestPayload.h | |
bool Open() |
Open the upload payload before start | GenericPlatform/HttpRequestPayload.h |