An Object of class "sharedHelper" serves HTML help pages for one or several
RKernel processes
Public fields
port
Integer, the port number
url
Character string, the base URL of the served help pages
orig_httpd
A function, set to the original HTTP server function
Methods
Method new()
Intialize the object
Arguments
port
Integer, a port number
prefix
A character string, the URL prefix
use_proxy
A logical value, whether the help server is supposed to be run
behind a jupyter proxy
Method httpd()
The function that serves paths and queries
Usage
sharedHelpServer$httpd(path, query, ...)
Arguments
path
A character string, the path part of an URL
query
An optional HTTP query string
...
Any other arguments, passed on to the original 'httpd' function.
Method run()
The server loop
Method publish_port()
Put a port number into a temporary file, for other processes to find
Usage
sharedHelpServer$publish_port(port)
Arguments
port
An integer, the port number
Put log text into a temporary file, for other processes to read
Usage
sharedHelpServer$log(text)
Arguments
text
A character string to be added to the log file
Method clone()
The objects of this class are cloneable with this method.
Usage
sharedHelpServer$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.