set_crunch_config: Set or modify general Crunch API request configuration

View source: R/api.R

set_crunch_configR Documentation

Set or modify general Crunch API request configuration

Description

Set or modify general Crunch API request configuration

Usage

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-io/rcrunch documentation built on April 1, 2024, 1:14 a.m.