uri: Returns the set of keywords in a uri template

View source: R/uri.R

uriR Documentation

Returns the set of keywords in a uri template

Description

Returns the set of keywords in a uri template

Usage

uri(uri = "")

Arguments

uri

(character) any URI

Examples

# no URI given
x <- uri()
x
x$port_mapping
x$ip_based_schemes

# give a URI
x <- uri("http:.//example.com/foo/bar")
x
x$uri
## parse it
x$parse()
x$uri_parsed

# join
base <- "http://example.com"
uri <- uri("relative/path")
uri$parse()
uri$join(base, uri)

ropenscilabs/urltemplate documentation built on May 18, 2022, 8:33 p.m.