Chromium Embedded Framework (CEF)
126.2.0+g5c56e98+chromium-126.0.6478.62
|
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... | |
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.
CefMessageRouterConfig::CefMessageRouterConfig | ( | ) |
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".
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".
size_t CefMessageRouterConfig::message_size_threshold |
Messages of size (in bytes) larger than this threshold will be sent via shared memory region.