set_crunch_config: Set or modify general Crunch API request configuration

Description Usage Arguments Value

View source: R/api.R

Description

Set or modify general Crunch API request configuration

Usage

1
2
3
4
set_crunch_config(
  cfg = c(config(postredir = 3), add_headers(`user-agent` = crunch_user_agent())),
  update = FALSE
)

Arguments

cfg

A httr::config() object

Value

A list of length one containing the configuration that was set; this function is called primarily for its side effects.


crunch documentation built on April 6, 2021, 1:05 a.m.