Cookies Type
⚠ Process Availability: Main ✔ | Renderer ❌ | Utility ❌ | Exported ❌
Instance members
| Instance member |
Description
|
|
A promise which resolves when the cookie store has been flushedWrites any unwritten cookies data to diskCookies written by any method will not be written to disk immediately, but will be written every 30 seconds or 512 operationsCalling this method can cause the cookie to be written to disk immediately.
|
|
Emitted when a cookie is changed because it was added, edited, removed, or expired.
|
|
|
|
Emitted when a cookie is changed because it was added, edited, removed, or expired.
|
|
|
|
Emitted when a cookie is changed because it was added, edited, removed, or expired.
|
|
|
Full Usage:
this.remove (url, name)
Parameters:
string
name : string
Returns: Promise<unit>
Modifiers: inline |
A promise which resolves when the cookie has been removedRemoves the cookies matching url and name
|
Full Usage:
this.set (url, ?name, ?value, ?domain, ?path, ?secure, ?httpOnly, ?expirationDate, ?sameSite)
Parameters:
string
?name : string
?value : string
?domain : string
?path : string
?secure : bool
?httpOnly : bool
?expirationDate : double
?sameSite : SameSite
Returns: Promise<unit>
Modifiers: inline |
fable-electron-docs-api