UCefView
Loading...
Searching...
No Matches
UCefViewQuery

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>

Public Member Functions

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.
 

Public Attributes

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.
 

Protected Member Functions

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).
 

Detailed Description

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.

Member Function Documentation

◆ 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
InIdThe query ID.
InRequestThe request content.

Member Data Documentation

◆ 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.