time {httping} | R Documentation |
Ping a url to time the request
Description
Ping a url to time the request
Usage
time(.request, count = 10, delay = 0.5, flood = FALSE, verbose = TRUE,
...)
Arguments
.request |
A httr response object |
count |
integer, Number of requests to do. |
delay |
integer, Seconds to delay successive calls by. Default: 0.5 seconds. |
flood |
logical; If |
verbose |
logical; If |
... |
Further args passed on to functions in httr |
Examples
## Not run:
GET("https://mockbin.com/request") %>% time()
GET("https://api.github.com") %>% time()
GET("http://google.com") %>% time()
## End(Not run)
[Package httping version 0.2.0 Index]