setCookie

suspend fun setCookie(url: String, cookie: CefCookie): Boolean(source)

Set cookie for a given url

Return

false if an invalid URL is specified or if cookies cannot be flushed.

Parameters

url

the cookie url

cookie

the cookie attributes