Skip to content

Commit 1218a57

Browse files
Shane TullyShane Tully
authored andcommitted
update READ.md setCookie
1 parent 320ed35 commit 1218a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ cordova.plugin.http.getCookieString(url);
163163
```
164164

165165
### setCookie
166-
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.
166+
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).
167167

168168
```js
169169
cordova.plugin.http.setCookie(url, cookie, options);

0 commit comments

Comments
 (0)