Set a request preprocessor
Arguments
- FUN
A function or expression that modifies
request
objects. Specifically, a valid input is one of:A function taking a single argument, the
request
, and returning a validrequest
object.A formula as shorthand for an anonymous function with
.
as the "request" argument, as in thepurrr
package.A list of functions/formulas, which will be executed in sequence on the request.
NULL
, to override the defaultredact_auth()
.