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)


280
281
282
283
284
# File 'lib/httpx/plugins/retries.rb', line 280

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