Navigation
API > API/Runtime > API/Runtime/HTTP > API/Runtime/HTTP/IHttpRequest
Description
Sets the content of the request to stream directly from an delegate. NOTE:
- The delegate will be called from another thread other than the game thread, make sure it's thread-safe in there
- Make sure the delegate is safe to be called until receiving the process complete callback or after canceling the request
| Name | SetContentFromStreamDelegate |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/Interfaces/IHttpRequest.h |
| Include Path | #include "Interfaces/IHttpRequest.h" |
| Source | /Engine/Source/Runtime/Online/HTTP/Private/Interfaces/IHttpRequest.cpp |
bool SetContentFromStreamDelegate
(
FHttpRequestStreamDelegate StreamDelegate
)