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