VitessceConfigServerStaticRoute: Class representing a local web server static route: path +...

VitessceConfigServerStaticRouteR Documentation

Class representing a local web server static route: path + directory.

Description

Class representing a local web server static route: path + directory.

Class representing a local web server static route: path + directory.

Public fields

path

The path on which the web server should respond to requests using this callback.

directory

The directory containing files to serve.

Methods

Public methods


Method new()

Create a new server route wrapper object.

Usage
VitessceConfigServerStaticRoute$new(path, directory)
Arguments
path

The route path.

directory

The directory to serve statically on this route.

Returns

A new VitessceConfigServerStaticRoute object.


Method create_handlers()

Add handler functions to the Plumber server object to respond on this route.

Usage
VitessceConfigServerStaticRoute$create_handlers(pr_server)
Arguments
pr_server

The server instance.

Returns

The modified server instance.


Method clone()

The objects of this class are cloneable with this method.

Usage
VitessceConfigServerStaticRoute$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


vitessce/vitessceR documentation built on Oct. 12, 2024, 12:24 a.m.