httr_mock: Turn on httr mocking Sets a callback that routes httr request...

View source: R/adapter-httr.R

httr_mockR Documentation

Turn on httr mocking Sets a callback that routes httr request through webmockr

Description

Turn on httr mocking Sets a callback that routes httr request through webmockr

Usage

httr_mock(on = TRUE)

Arguments

on

(logical) set to TRUE to turn on, and FALSE to turn off. default: TRUE

Value

Silently returns TRUE when enabled and FALSE when disabled.


webmockr documentation built on Aug. 29, 2022, 1:07 a.m.