set_config
From httr v1.4.1
by Hadley Wickham
Set (and reset) global httr configuration.
Set (and reset) global httr configuration.
Usage
set_config(config, override = FALSE)reset_config()
Arguments
- config
Settings as generated by
add_headers()
,set_cookies()
orauthenticate()
.- override
if
TRUE
, ignore existing settings, ifFALSE
, combine new config with old.
Value
invisibility, the old global config.
See Also
Other ways to set configuration: config
,
with_config
Examples
# NOT RUN {
GET("http://google.com")
set_config(verbose())
GET("http://google.com")
reset_config()
GET("http://google.com")
# }
Community examples
Looks like there are no examples yet.