start.HttpDaemon {R.rsp} | R Documentation |
Starts the HTTP daemon. Currently, only one HTTP daemon can run at each time, regardless of port used.
HttpDaemon$start(rootPaths=NULL, port=8080, default="index.rsp", ...)
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. *setRootPaths() . |
port |
The socket port the server listens to. |
default |
The default filename (basename) to be retrieved if not specified. |
... |
Not used. |
Returns nothing.
Henrik Bengtsson (http://www.braju.com/R/)
*setRootPaths()
.
*isStarted()
.
*stop()
.
*restart()
.
For more information see HttpDaemon
.