Navigation
API > API/Runtime > API/Runtime/HTTP > API/Runtime/HTTP/FHttpRequestAdapterBase
Description
Sets the content of the request to stream directly from an archive. NOTE: The Stream->Serialize will be called from another thread other than the game thread
Virtual Inheritance
- IHttpRequest::SetContentFromStream → FHttpRequestAdapterBase::SetContentFromStream
| Name | SetContentFromStream |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/HttpRequestAdapter.h |
| Include Path | #include "HttpRequestAdapter.h" |
| Source | /Engine/Source/Runtime/Online/HTTP/Private/HttpRequestAdapter.cpp |
virtual bool SetContentFromStream
(
TSharedRef < FArchive , ESPMode::ThreadSafe > Stream
)
True if the archive can be used to stream the request. False otherwise.
Parameters
| Name | Remarks |
|---|---|
| Stream | archive from which the payload should be streamed. |