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
137 def write(chunk)
138   return super unless @on_data
139 
140   @on_data.call(chunk, chunk.bytesize)
141 end