handle_cookies | R Documentation |
The handle_cookies
function returns a data frame with 7 columns as specified in the
netscape cookie file format.
handle_cookies(handle)
handle |
a curl handle object |
Other handles:
handle
h <- new_handle()
handle_cookies(h)
# Server sets cookies
req <- curl_fetch_memory("https://hb.cran.dev/cookies/set?foo=123&bar=ftw", handle = h)
handle_cookies(h)
# Server deletes cookies
req <- curl_fetch_memory("https://hb.cran.dev/cookies/delete?foo", handle = h)
handle_cookies(h)
# Cookies will survive a reset!
handle_reset(h)
handle_cookies(h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.