From 1218a57e5feae5e59d64e0489fc703c2f4a423fe Mon Sep 17 00:00:00 2001 From: Shane Tully Date: Thu, 22 Sep 2022 21:48:40 +0100 Subject: [PATCH] update READ.md setCookie --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bcc6515..b09d138 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ cordova.plugin.http.getCookieString(url); ``` ### setCookie -Add a custom cookie. Takes a URL, a cookie string and an options object. See [ToughCookie documentation](https://github.com/salesforce/tough-cookie#setcookiecookieorstring-currenturl-options-cberrcookie) for allowed options. +Add a custom cookie. Takes a URL, a cookie string and an options object. See [ToughCookie documentation](https://github.com/salesforce/tough-cookie#setcookiecookieorstring-currenturl-options-cberrcookie) for allowed options. Cookie will persist until removed with [removeCookies](#removecookies) or [clearCookies](#clearcookies). ```js cordova.plugin.http.setCookie(url, cookie, options);