tests/testthat/_snaps/multi-req.md

request and paths must match

Code
  req_perform_parallel(req, letters)
Condition
  Error in `req_perform_parallel()`:
  ! If supplied, `paths` must be the same length as `req`.

errors by default

Code
  req_perform_parallel(reqs[1])
Condition
  Error in `req_perform_parallel()`:
  ! HTTP 404 Not Found.
Code
  req_perform_parallel(reqs[2])
Condition
  Error in `req_perform_parallel()`:
  ! Could not resolve host: INVALID

req_perform_parallel respects http_error() body message

Code
  req_perform_parallel(reqs)
Condition
  Error in `req_perform_parallel()`:
  ! HTTP 404 Not Found.
  * hello

multi_req_perform is deprecated

Code
  multi_req_perform(list())
Condition
  Warning:
  `multi_req_perform()` was deprecated in httr2 1.0.0.
  i Please use `req_perform_parallel()` instead.
Output
  list()


r-lib/httr2 documentation built on Jan. 11, 2025, 10:21 a.m.