to_timeout: Set timeout as an expected return on a match

View source: R/to_timeout.R

to_timeoutR Documentation

Set timeout as an expected return on a match

Description

Set timeout as an expected return on a match

Usage

to_timeout(.data)

Arguments

.data

input. Anything that can be coerced to a StubbedRequest class object

Value

an object of class StubbedRequest, with print method describing the stub

Note

see examples in stub_request()


ropensci/webmockr documentation built on June 5, 2023, 12:06 p.m.