CookieAccessFilterCanSaveCookie Method |
Version 130.1.90
Called on the CEF IO thread after a resource response is received.
Namespace: CefSharp.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax protected virtual bool CanSaveCookie(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
IFrame frame,
IRequest request,
IResponse response,
Cookie cookie
)
protected:
virtual bool CanSaveCookie(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
IFrame^ frame,
IRequest^ request,
IResponse^ response,
Cookie^ cookie
)
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 - cannot be modified in this callback
- response IResponse
- the response object - cannot be modified in this callback
- cookie Cookie
- the cookie object
Return Value
BooleanReturn true if the specified cookie returned with the response can be saved or false otherwise.
See Also