HttpDaemon$start

0th

Percentile

Starts the HTTP daemon

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

Keywords
methods, internal, IO
Usage
## 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|.*)$", ...)

Arguments
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 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.

See Also

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

Aliases
  • HttpDaemon$start
  • start.HttpDaemon
  • HttpDaemon.start
  • start,HttpDaemon-method
Documentation reproduced from package R.rsp, version 0.43.2, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.