Click or drag to resize

IResourceRequestHandlerGetCookieAccessFilter Method

Version 75.1.140
Called on the CEF IO thread before a resource request is loaded. .

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.0)
Syntax
ICookieAccessFilter GetCookieAccessFilter(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	IFrame frame,
	IRequest request
)

Parameters

chromiumWebBrowser
Type: CefSharpIWebBrowser
The ChromiumWebBrowser control
browser
Type: CefSharpIBrowser
the browser object - may be null if originating from ServiceWorker or CefURLRequest
frame
Type: CefSharpIFrame
the frame object - may be null if originating from ServiceWorker or CefURLRequest
request
Type: CefSharpIRequest
the request object - can be modified in this callback.

Return Value

Type: ICookieAccessFilter
To optionally filter cookies for the request return a ICookieAccessFilter instance otherwise return null.
See Also