canSendCookie
open fun canSendCookie(browser: CefBrowser, frame: CefFrame, request: CefRequest, cookie: CefCookie): Boolean
Called on the IO thread before a resource request is sent. The |browser| and |frame| values represent the source of the request, and may be null for requests originating from service workers or CefURLRequest.
Return
True if the cookie can be sent or false otherwise.
Parameters
browser
The corresponding browser.
frame
The frame generating the event. Instance only valid within the scope of this method.
request
The request itself. Cannot be modified in this callback. Instance only valid within the scope of this method.
cookie
The cookie that will be sent with the request. Cannot be modified in this callback. Instance only valid within the scope of this method.