Starts the HTTP daemon. Currently, only one HTTP daemon can run at each time, regardless of port used.
## Static method (use this):
## HttpDaemon$start(rootPaths=NULL, port=8080, default="^index[.](html|.*)$", ...)## Don't use the below:
# S3 method for HttpDaemon
start(x, rootPaths=NULL, port=8080, default="^index[.](html|.*)$", ...)
The path(s) to act as the root of the webserver file
system. Files in parent directories of the root, will not be
accessible. If NULL
, the preset paths will be used,
cf. *setRootPaths()
.
The socket port the server listens to.
The default filename pattern to be retrieved if not specified.
Not used.
Returns nothing.
*setRootPaths()
.
*isStarted()
.
*terminate()
.
*restart()
.
For more information see HttpDaemon
.