canSaveCookie
open fun canSaveCookie(browser: CefBrowser, frame: CefFrame, request: CefRequest, response: CefResponse, cookie: CefCookie): Boolean
Called on the IO thread after a resource response is received. 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 saved 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.
response
The request response. 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.