Navigation
API > API/Runtime > API/Runtime/HTTP
| Name | FRequestPayloadInFileStream |
| Type | class |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/GenericPlatform/HttpRequestPayload.h |
| Include Path | #include "GenericPlatform/HttpRequestPayload.h" |
Syntax
class FRequestPayloadInFileStream : public FRequestPayload
Inheritance Hierarchy
- FRequestPayload → FRequestPayloadInFileStream
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRequestPayloadInFileStream
(
const FString& InFilename |
GenericPlatform/HttpRequestPayload.h | ||
FRequestPayloadInFileStream
(
TSharedRef< FArchive > InFile, |
GenericPlatform/HttpRequestPayload.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRequestPayloadInFileStream() |
GenericPlatform/HttpRequestPayload.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCloseWhenComplete | bool | GenericPlatform/HttpRequestPayload.h | ||
| File | TSharedPtr< FArchive > | GenericPlatform/HttpRequestPayload.h | ||
| Filename | FString | 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 |