Chromium Embedded Framework (CEF)  114.2.1+gd70a0a8+chromium-114.0.5735.45
CefMessageRouterConfig Struct Reference

Used to configure the query router. More...

#include "include/wrapper/cef_message_router.h"

Public Member Functions

 CefMessageRouterConfig ()
 

Public Attributes

CefString js_query_function
 Name of the JavaScript function that will be added to the 'window' object for sending a query. More...
 
CefString js_cancel_function
 Name of the JavaScript function that will be added to the 'window' object for canceling a pending query. More...
 
size_t message_size_threshold
 Messages of size (in bytes) larger than this threshold will be sent via shared memory region. More...
 

Detailed Description

Used to configure the query router.

The same values must be passed to both CefMessageRouterBrowserSide and CefMessageRouterRendererSide. If using multiple router pairs make sure to choose values that do not conflict.

Constructor & Destructor Documentation

◆ CefMessageRouterConfig()

CefMessageRouterConfig::CefMessageRouterConfig ( )

Member Data Documentation

◆ js_cancel_function

CefString CefMessageRouterConfig::js_cancel_function

Name of the JavaScript function that will be added to the 'window' object for canceling a pending query.

The default value is "cefQueryCancel".

◆ js_query_function

CefString CefMessageRouterConfig::js_query_function

Name of the JavaScript function that will be added to the 'window' object for sending a query.

The default value is "cefQuery".

◆ message_size_threshold

size_t CefMessageRouterConfig::message_size_threshold

Messages of size (in bytes) larger than this threshold will be sent via shared memory region.


The documentation for this struct was generated from the following file: