module Faraday::Adapter::HTTPX::OnDataPlugin::RequestMethods

  1. lib/httpx/adapters/faraday.rb

Methods

Public Instance

  1. response=
  2. response_on_data

Attributes

Public Instance methods

response=(response)
[show source]
    # File lib/httpx/adapters/faraday.rb
125 def response=(response)
126   super
127 
128   return if response.is_a?(::HTTPX::ErrorResponse)
129 
130   response.body.on_data = @response_on_data
131 end