set_cookie: once cookie exist, it's impossible to update by set_cookie

set_cookieR Documentation

once cookie exist, it's impossible to update by set_cookie

Description

once cookie exist, it's impossible to update by set_cookie

set_config() works globaly, but will not return cookie to reponse object. Reversely, set_cookies() works locally, and return cookie to response object.

Usage

set_cookie_file(cookiefile = "cookies.txt")

write_cookie(cookies, cookiefile = "cookies.txt")

Arguments

cookiefile

path of cookie file

cookies

data.frame object, at least with "name" and "value".


rpkgs/curlR documentation built on Jan. 30, 2023, 7:26 p.m.