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