extract_cookies | R Documentation |
The shiny request object includes any cookies that are available to the app. This function extracts those cookies as a named list.
extract_cookies(request)
request |
A shiny request object. |
All cookies in the request, as a list.
req <- list(HTTP_COOKIE = "cookie1=expected_value; cookie2=1; cookie3=2")
extract_cookies(req)
extract_cookies(list())
extract_cookies(NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.