set_config: Set (and reset) global httr configuration.

Description Usage Arguments Value See Also Examples

View source: R/config.r

Description

Set (and reset) global httr configuration.

Usage

1
2
3

Arguments

config

Settings as generated by add_headers, set_cookies or authenticate.

override

if TRUE, ignore existing settings, if FALSE, combine new config with old.

Value

invisibility, the old global config.

See Also

Other ways to set configuration: config, with_config

Examples

1
2
3
4
5
GET("http://google.com")
set_config(verbose())
GET("http://google.com")
reset_config()
GET("http://google.com")

r-lib/httr documentation built on June 6, 2018, 9:32 p.m.