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