R: Starts the HTTP daemon

HttpDaemon$start {R.rsp} | R Documentation

## Starts the HTTP daemon

### Description

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

### Usage

    ## 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|.*)$", ...)

### 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. `*setRootPaths()`.
`port` | The socket port the server listens to.
`default` | The default filename pattern to be retrieved if not specified.
`...` | Not used.

### Value

Returns nothing.

### Author(s)

Henrik Bengtsson

### See Also

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

[Package R.rsp version 0.41.0 Index]