Method: HTTP::Client#perform
- Defined in:
- lib/http/client.rb
#perform(req, options) ⇒ HTTP::Response
Perform a single (no follow) HTTP request
88 89 90 91 92 93 94 |
# File 'lib/http/client.rb', line 88 def perform(req, ) if .retriable perform_with_retry(req, ) else perform_once(req, ) end end |