View source: R/middleware_core.R
Internal function to add middleware
1 | add_middleware(jug, func, path = NULL, method = NULL, websocket = FALSE)
|
jug |
the jug instance |
func |
the function to bind |
path |
the path to bind to |
method |
the method to bind to |
websocket |
should the middleware bind to the websocket protocol |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.