with_config {httr} | R Documentation |
Execute code with configuration set.
with_config(config = config(), expr, override = FALSE) with_verbose(expr, ...)
config |
Settings as generated by |
expr |
code to execute under specified configuration |
override |
if |
... |
Other arguments passed on to |
Other ways to set configuration: config
,
set_config
with_config(verbose(), { GET("http://had.co.nz") GET("http://google.com") }) # Or even easier: with_verbose(GET("http://google.com"))