Skip to content

ElectronCookies.set method

ElectronCookies › set

Unofficial

Sets a cookie with details.

Signature:

set(details: ElectronCookiesSetDetails): Promise<void>

Parameters:

Parameter Type Description
details ElectronCookiesSetDetails The details of the cookie to set.

Returns: Promise<void>A promise which resolves when the cookie has been set.