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;
const FString & Text,
FString ContentType
&41;
Remarks
Creates an FHttpServerResponse from a string A unique pointer to an initialized response object
Parameters
| Name | Description |
|---|---|
| Text | The text to serialize |
| ContentType | The HTTP response content type |