Represents a query sent from the CEF (Chromium Embedded Framework) browser to the Unreal Engine. This class encapsulates the query ID, request content, and methods for replying to the query.
More...
#include <CefViewQuery.h>
|
const int64 | GetId () const |
| Gets the query id.
|
|
const FString | GetRequest () const |
| Gets the query content.
|
|
void | Reply () const |
| Replies to the query with the specified success status, response, and error code.
|
|
|
bool | IsSuccess = false |
| Indicates whether the query was processed successfully.
|
|
int32 | ErrorCode = 0 |
| Error code associated with the query, if any.
|
|
FString | Response |
| The response data for the query.
|
|
|
void | SetIdAndRequest (int64 InId, const FString &InRequest) |
| Sets the query ID and request content.
|
|
void | MarkAsReplied () const |
| Marks the query as replied (for internal use only).
|
|
Represents a query sent from the CEF (Chromium Embedded Framework) browser to the Unreal Engine. This class encapsulates the query ID, request content, and methods for replying to the query.
◆ GetId()
const int64 UCefViewQuery::GetId |
( |
| ) |
const |
Gets the query id.
- Returns
- The query id.
◆ GetRequest()
const FString UCefViewQuery::GetRequest |
( |
| ) |
const |
Gets the query content.
- Returns
- The content string.
◆ MarkAsReplied()
void UCefViewQuery::MarkAsReplied |
( |
| ) |
const |
|
protected |
Marks the query as replied (for internal use only).
◆ Reply()
void UCefViewQuery::Reply |
( |
| ) |
const |
Replies to the query with the specified success status, response, and error code.
◆ SetIdAndRequest()
void UCefViewQuery::SetIdAndRequest |
( |
int64 | InId, |
|
|
const FString & | InRequest ) |
|
protected |
Sets the query ID and request content.
- Parameters
-
InId | The query ID. |
InRequest | The request content. |
◆ ErrorCode
int32 UCefViewQuery::ErrorCode = 0 |
Error code associated with the query, if any.
◆ IsSuccess
bool UCefViewQuery::IsSuccess = false |
Indicates whether the query was processed successfully.
◆ Response
FString UCefViewQuery::Response |
The response data for the query.