Click or drag to resize

IRequestHandlerCanGetCookies Method

Version 73.1.130
Called on the CEF IO thread before sending a network request with a "Cookie" request header.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 73.1.130.0 (73.1.130.0)
Syntax
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: Boolean
Return true to allow cookies to be included in the network request or false to block cookies
See Also