module Typhoeus::Request::Callbacks

def execute_headers_callbacks(response)

Other tags:
    Api: - private

Returns:
  • (Array) - The results of the on_headers callbacks.
    Other tags:
      Example: Execute callbacks. -
    def execute_headers_callbacks(response)
      (Typhoeus.on_headers + on_headers).map do |callback|
        callback.call(response)
      end
    end