ResourceRequestHandlerGetCookieAccessFilter Method |
Version 130.1.90
Called on the CEF IO thread before a resource request is loaded. To optionally filter cookies for the request return a
ICookieAccessFilter object.
Namespace: CefSharp.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax protected virtual ICookieAccessFilter GetCookieAccessFilter(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
IFrame frame,
IRequest request
)
protected:
virtual ICookieAccessFilter^ GetCookieAccessFilter(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
IFrame^ frame,
IRequest^ request
)
Parameters
- chromiumWebBrowser IWebBrowser
- The ChromiumWebBrowser control.
- browser IBrowser
- the browser object - may be null if originating from ServiceWorker or CefURLRequest.
- frame IFrame
- the frame object - may be null if originating from ServiceWorker or CefURLRequest.
- request IRequest
- the request object - can be modified in this callback.
Return Value
ICookieAccessFilterTo optionally filter cookies for the request return a ICookieAccessFilter instance otherwise return null.
See Also