Navigation
API > API/Runtime > API/Runtime/HttpServer > API/Runtime/HttpServer/FHttpServerResponse > API/Runtime/HttpServer/FHttpServerResponse/Create
References
| Module | HttpServer |
| 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
&40;
TArray< uint8 > && RawBytes,
FString ContentType
&41;
Remarks
Creates an FHttpServerResponse from a raw byte buffer A unique pointer to an initialized response object
Parameters
| Name | Description |
|---|---|
| RawBytes | The byte buffer to serialize |
| ContentType | The HTTP response content type |