IRequestHandlerCanGetCookies Method |
Version 67.0.0
Called on the CEF IO thread before sending a network request with a "Cookie"
request header.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 67.0.0.0 (67.0.0.0)
Syntax bool CanGetCookies(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
IFrame frame,
IRequest request
)
bool CanGetCookies(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
IFrame^ frame,
IRequest^ request
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
the browser object - frame
- Type: CefSharpIFrame
The frame object - request
- Type: CefSharpIRequest
the request object - cannot be modified in this callback
Return Value
Type:
BooleanReturn true to allow cookies to be included in the network
request or false to block cookies
See Also