Enable or disable webmockr
enable(adapter = NULL, options = list(), quiet = FALSE)enabled(adapter = "crul")
disable(adapter = NULL, options = list(), quiet = FALSE)
enable() and disable() invisibly returns booleans for
each adapter, as a result of running enable or disable, respectively,
on each HttpLibAdapaterRegistry object. enabled returns a
single boolean
(character) the adapter name, 'crul', 'httr', or 'httr2'. one or the other. if none given, we attempt to enable both adapters
list of options - ignored for now.
(logical) suppress messages? default: FALSE
enable() enables webmockr for all adapters
disable() disables webmockr for all adapters
enabled() answers whether webmockr is enabled for a given adapter