with_verbosity | R Documentation |
with_verbosity()
is useful for debugging httr2 code buried deep inside
another package because it allows you to see exactly what's been sent
and requested.
with_verbosity(code, verbosity = 1)
code |
Code to execture |
verbosity |
How much information to print? This is a wrapper
around
Use |
The result of evaluating code
.
fun <- function() {
request("https://httr2.r-lib.org") |> req_perform()
}
with_verbosity(fun())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.