Abstraction that encapsulates the location of a request payload
更多...
#include <HttpRequestPayload.h>
被 FRequestPayloadInFileStream , 以及 FRequestPayloadInMemory 继承.
|
| virtual size_t | FillOutputBuffer (TArrayView< uint8 > OutputBuffer, size_t SizeAlreadySent)=0 |
| | Read part of the underlying request payload into an output buffer. 更多...
|
| |
| virtual size_t | FillOutputBuffer (void *OutputBuffer, size_t MaxOutputBufferSize, size_t SizeAlreadySent)=0 |
| | Read part of the underlying request payload into an output buffer. 更多...
|
| |
| virtual const TArray< uint8 > & | GetContent () const =0 |
| | Return a reference to the underlying memory buffer. 更多...
|
| |
|
virtual int32 | GetContentLength () const =0 |
| | Get the total content length of the request payload in bytes
|
| |
| virtual bool | IsURLEncoded () const =0 |
| | Check if the request payload is URL encoded. 更多...
|
| |
Abstraction that encapsulates the location of a request payload
◆ FillOutputBuffer() [1/2]
| virtual size_t FRequestPayload::FillOutputBuffer |
( |
TArrayView< uint8 > |
OutputBuffer, |
|
|
size_t |
SizeAlreadySent |
|
) |
| |
|
pure virtual |
Read part of the underlying request payload into an output buffer.
- 参数
-
| OutputBuffer | - the destination memory address where the payload should be copied |
| MaxOutputBufferSize | - capacity of OutputBuffer in bytes |
| SizeAlreadySent | - how much of payload has previously been sent. |
- 返回
- Returns the number of bytes copied into OutputBuffer
◆ FillOutputBuffer() [2/2]
| virtual size_t FRequestPayload::FillOutputBuffer |
( |
void * |
OutputBuffer, |
|
|
size_t |
MaxOutputBufferSize, |
|
|
size_t |
SizeAlreadySent |
|
) |
| |
|
pure virtual |
Read part of the underlying request payload into an output buffer.
- 参数
-
| OutputBuffer | - the destination memory address where the payload should be copied |
| MaxOutputBufferSize | - capacity of OutputBuffer in bytes |
| SizeAlreadySent | - how much of payload has previously been sent. |
- 返回
- Returns the number of bytes copied into OutputBuffer
◆ GetContent()
| virtual const TArray< uint8 > & FRequestPayload::GetContent |
( |
| ) |
const |
|
pure virtual |
Return a reference to the underlying memory buffer.
Only valid for in-memory request payloads
◆ IsURLEncoded()
| virtual bool FRequestPayload::IsURLEncoded |
( |
| ) |
const |
|
pure virtual |
Check if the request payload is URL encoded.
This check is only performed for in-memory request payloads
该类的文档由以下文件生成: