Click or drag to resize

CookieAccessFilter.CanSendCookie Method

Version 101.0.180
Called on the CEF IO thread before a resource request is sent.

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
protected virtual bool CanSendCookie(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	IFrame frame,
	IRequest request,
	Cookie cookie
)

Parameters

chromiumWebBrowser
Type: CefSharp.IWebBrowser
The ChromiumWebBrowser control
browser
Type: CefSharp.IBrowser
the browser object - may be null if originating from ServiceWorker or CefURLRequest
frame
Type: CefSharp.IFrame
the frame object - may be null if originating from ServiceWorker or CefURLRequest
request
Type: CefSharp.IRequest
the request object - cannot be modified in this callback
cookie
Type: CefSharp.Cookie
the cookie object

Return Value

Type: Boolean
Return true if the specified cookie can be sent with the request or false otherwise.
See Also