CookieAccessFilterCanSendCookie Method |
Version 98.1.210
Called on the CEF IO thread before a resource request is sent.
Namespace:
CefSharp.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax protected virtual bool CanSendCookie(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
IFrame frame,
IRequest request,
Cookie cookie
)
protected:
virtual bool CanSendCookie(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
IFrame^ frame,
IRequest^ request,
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 - cookie
- Type: CefSharpCookie
the cookie object
Return Value
Type:
BooleanReturn true if the specified cookie can be sent with the request or false otherwise.
See Also