Click or drag to resize

DefaultRequestHandlerCanGetCookies Method

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

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 73.1.130.0 (73.1.130.0)
Syntax
public virtual bool CanGetCookies(
	IWebBrowser browserControl,
	IBrowser browser,
	IFrame frame,
	IRequest request
)

Parameters

browserControl
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

Implements

IRequestHandlerCanGetCookies(IWebBrowser, IBrowser, IFrame, IRequest)
See Also