createServer: Create a new EpivizServer object

Description Usage Arguments Value See Also Examples

View source: R/createServer.R

Description

Create a new EpivizServer object

Usage

1
2
3
4
5
6
7
8
createServer(
  port = 7123L,
  static_site_path = "",
  try_ports = FALSE,
  daemonized = NULL,
  verbose = FALSE,
  non_interactive = FALSE
)

Arguments

port

(int) port to which server will listen to.

static_site_path

(character) path to serve static html files.

try_ports

(logical) try various ports until an open port is found.

daemonized

(logical) run in background using httpuv's daemonized libuv server.

verbose

(logical) print verbose output.

non_interactive

(logical) run in non-interactive mode. For development purposes only.

Value

an EpivizServer object

See Also

EpivizServer for the class of objects returned

Examples

1
2
3
server <- createServer(port=7123,
                       verbose=TRUE
                       )

epiviz/epivizrServer documentation built on April 17, 2020, 7:31 a.m.