crunch_user_agent: Generate or extend the User-Agent string

View source: R/api.R

crunch_user_agentR Documentation

Generate or extend the User-Agent string

Description

By default, the names and versions of curl, httr, and any attached Crunch packages are included in the User-Agent request header. You can add to this using this function.

Usage

crunch_user_agent(...)

Arguments

...

Additional character terms to add to the User-Agent string

Value

The User-Agent string. Provide this appropriately in requests or set globally with set_crunch_config().


crunch documentation built on Aug. 31, 2023, 1:07 a.m.