module Ethon::Easy::ResponseCallbacks

def progress(dltotal, dlnow, ultotal, ulnow)

Other tags:
    Example: Execute on_progress. -
def progress(dltotal, dlnow, ultotal, ulnow)
  if defined?(@on_progress) and not @on_progress.nil?
    @on_progress.each{ |callback| callback.call(dltotal, dlnow, ultotal, ulnow) }
  end
end