as_cookie_parser | R Documentation |
Identifies a function as a cookie parser (see example).
as_cookie_parser(fn)
fn |
A function that accepts a single argument,
|
func <- function(req) {
req$HTTP_COOKIE
}
parser <- as_cookie_parser(func)
app <- Ambiorix$new()
app$use(parser)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.