powered by
An error will be thrown if the request does not complete in the time limit.
req_timeout(req, seconds)
A modified HTTP request.
A request.
Maximum number of seconds to wait
# Give up after at most 10 seconds request("http://example.com") |> req_timeout(10)
Run the code above in your browser using DataLab