module Faraday::Adapter::HTTPX::OnDataPlugin::ResponseBodyMethods

  1. lib/httpx/adapters/faraday.rb

Methods

Public Instance

  1. on_data
  2. write

Attributes

on_data [W]

Public Instance methods

write(chunk)
[show source]
    # File lib/httpx/adapters/faraday.rb
135 def write(chunk)
136   return super unless @on_data
137 
138   @on_data.call(chunk, chunk.bytesize)
139 end