rcw.url {rcloud.web} | R Documentation |
rcw.url
returns the URL from the current document
rcw.redirect
changes the URL of the current document
rcw.cookies
returns the cookies from the current document
rcw.parameters
returns the query string as a parsed list
rcw.url(detailed = TRUE)
rcw.redirect(url)
rcw.cookies(raw = FALSE)
rcw.parameters(cached = FALSE)
rcw.parameter(name, default = NULL, cached = FALSE)
detailed |
logical, if |
url |
new full URL to redirect to |
raw |
logical, if |
cached |
logical, if |
name |
string, name of the parameter to retrieve |
default |
value to use if the parameter is not set |
rcw.url
returns a string - the URL - if detailed = FALSE
or a list with the components url
(full URL), query
,
path
, origin
amd hash
.
rcw.cookie
returns a named list of the cookies (raw =
FALSE
) or the raw cookie string.
rcw.parameters
parses the query string from the document into a
list of parameters. rcw.parameter
is just a shortcut for
rcw.parameters()[[name]]
with an is.null()
check.
Simon Urbanek