.req_has_cookie_impl {scenes} | R Documentation |
Report whether a request includes a HTTP_COOKIE
object with a specified
cookie_name
, and optionally that the cookie passes
.req_has_cookie_impl(request, cookie_name, validation_fn, ...)
request |
A shiny request object. |
cookie_name |
The cookie that must be present, as a length-1 character vector. |
validation_fn |
A function that takes the value of the cookie as the
first parameter, and returns |
... |
Additional parameters passed on to |
A length-1 logical vector.