local-ch / lhc

🚀 Advanced HTTP Client for Ruby. Fueled with interceptors.
GNU General Public License v3.0
43 stars 1 forks source link

Retry.all #155

Closed 10xSebastian closed 5 years ago

10xSebastian commented 5 years ago
Retry all requests

If you want to retry all requests made from your application, you just need to configure it globally:

  LHC::Retry.all = true
  configuration.interceptors = [LHC::Retry]