mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-04-24 00:00:03 +08:00
Merge pull request #480 from shaneAPT/master
Update READ.md setCookie with removal message
This commit is contained in:
@@ -163,7 +163,7 @@ cordova.plugin.http.getCookieString(url);
|
|||||||
```
|
```
|
||||||
|
|
||||||
### setCookie
|
### 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
|
```js
|
||||||
cordova.plugin.http.setCookie(url, cookie, options);
|
cordova.plugin.http.setCookie(url, cookie, options);
|
||||||
|
|||||||
Reference in New Issue
Block a user