Description Public fields Methods
Session class
Session class
graphs
User defined process graphs
processes
Package processes
data
Data of current Session
jobs
Stored jobs of current Session
new()
Create a new session
SessionInstance$new(configuration = NULL)
configuration
Session configuration
getEndpoints()
Get endpoints
SessionInstance$getEndpoints()
endpoints
getConfig()
Get configuration
SessionInstance$getConfig()
configuration
getToken()
Get token
SessionInstance$getToken()
token
setToken()
Assign this token to the session
SessionInstance$setToken(new)
new
New token
startSession()
Start the session
SessionInstance$startSession()
setBaseUrl()
Set base url
SessionInstance$setBaseUrl(port, host)
port
Which port is currently saved
host
Which host is currently saved
getBaseUrl()
Get base url
SessionInstance$getBaseUrl()
base url
initDirectory()
initializes workspace and data paths
SessionInstance$initDirectory()
initEndpoints()
biuld a df to add the endpoints later on
SessionInstance$initEndpoints()
createEndpoint()
Create an endpoint
SessionInstance$createEndpoint( path, method, handler = NULL, filter = FALSE, serializer = serializer_unboxed_json() )
path
path for the endpoint
method
type of request
handler
function to be executed
filter
deactivate filter for several endpoints
serializer
plumber serializer to be used
created Endpoint
assignData()
Function to assign data of collection to the data path
SessionInstance$assignData(col)
col
Collection of class 'Collection'
assignProcess()
Function to assign the process to the Session
SessionInstance$assignProcess(pro)
pro
Process of class 'Process'
assignJob()
Function to assign a job to the Session
SessionInstance$assignJob(job)
job
Job of class 'Job'
runJob()
Execute the job
SessionInstance$runJob(job)
job
Job to be executed
clone()
The objects of this class are cloneable with this method.
SessionInstance$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.