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()


webmockr documentation built on March 7, 2023, 5:25 p.m.