as_cookie_preprocessor | R Documentation |
Identifies a function as a cookie preprocessor.
as_cookie_preprocessor(fn)
fn |
A function that accepts the same arguments
as the |
func <- \(name, value, ...) {
sprintf("prefix.%s", value)
}
prep <- as_cookie_preprocessor(func)
app <- Ambiorix$new()
app$use(prep)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.