HttpDaemon$start | R Documentation |
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 class 'HttpDaemon'
start(x, rootPaths=NULL, port=8080, default="^index[.](html|.*)$", ...)
rootPaths |
The path(s) to act as the root of the web server file
system. Files in parent directories of the root, will not be
accessible. If |
port |
The socket port the server listens to. |
default |
The default filename pattern to be retrieved if not specified. |
... |
Not used. |
Returns nothing.
Henrik Bengtsson
*setRootPaths()
.
*isStarted()
.
*terminate()
.
*restart()
.
For more information see HttpDaemon
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.