R.rsp (version 0.6.2)

start.HttpDaemon: Starts the HTTP daemon

Description

Starts the HTTP daemon. Currently, only one HTTP daemon can run at each time, regardless of port used.

Usage

HttpDaemon$start(rootPaths=NULL, port=8080, default="index.rsp", ...)

Arguments

rootPaths
The path(s) to act as the root of the webserver file system. Files in parent directories of the root, will not be accessable. If NULL, the preset paths will be used, cf.
port
The socket port the server listens to.
default
The default filename (basename) to be retrieved if not specified.
...
Not used.

Value

  • Returns nothing.

synopsis

start.HttpDaemon(x, rootPaths=NULL, port=8080, default="index.rsp", ...)

See Also

*setRootPaths(). *isStarted(). *stop(). *restart(). For more information see HttpDaemon.