Module: HTTPX::Plugins::Retries::ResponseMethods

Defined in:
lib/httpx/plugins/retries.rb,
sig/plugins/retries.rbs

Instance Method Summary collapse

Instance Method Details

#from_partial_response(response) ⇒ void

This method returns an undefined value.

Parameters:

  • response (retriesHTTPResponse)


273
274
275
276
277
# File 'lib/httpx/plugins/retries.rb', line 273

def from_partial_response(response)
  @status = response.status
  @headers = response.headers
  @body = response.body
end