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
123 def response=(response)
124   super
125 
126   return if response.is_a?(::HTTPX::ErrorResponse)
127 
128   response.body.on_data = @response_on_data
129 end