with_config

0th

Percentile

Execute code with configuration set.

Execute code with configuration set.

Usage
with_config(config = config(), expr, override = FALSE)
Arguments
expr
code to execute under specified configuration
config
Settings as generated by add_headers, set_cookies or authenticate.
override
if TRUE, ignore existing settings, if FALSE, combine new config with old.
See Also

Other ways to set configuration: config, reset_config, set_config

Aliases
  • with_config
Examples
with_config(verbose(), {
  GET("http://had.co.nz")
  GET("http://google.com")
})
Documentation reproduced from package httr, version 0.1.1, License: MIT

Community examples

Looks like there are no examples yet.