VitessceConfigServerStaticRoute | R Documentation |
Class representing a local web server static route: path + directory.
Class representing a local web server static route: path + directory.
path
The path on which the web server should respond to requests using this callback.
directory
The directory containing files to serve.
new()
Create a new server route wrapper object.
VitessceConfigServerStaticRoute$new(path, directory)
path
The route path.
directory
The directory to serve statically on this route.
A new VitessceConfigServerStaticRoute
object.
create_handlers()
Add handler functions to the Plumber server object to respond on this route.
VitessceConfigServerStaticRoute$create_handlers(pr_server)
pr_server
The server instance.
The modified server instance.
clone()
The objects of this class are cloneable with this method.
VitessceConfigServerStaticRoute$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.