Module |
|
Header |
/Engine/Source/Runtime/Online/HTTPServer/Public/HttpServerResponse.h |
Include |
#include "HttpServerResponse.h" |
Source |
/Engine/Source/Runtime/Online/HTTPServer/Private/HttpServerResponse.cpp |
static TUniquePtr< FHttpServerResponse > Create
(
const TArrayView< uint8 > & RawBytes,
FString ContentType
)
Creates an FHttpServerResponse from a raw byte buffer
A unique pointer to an initialized response object
Parameter |
Description |
---|---|
RawBytes |
The byte buffer view to serialize |
ContentType |
The HTTP response content type |