module Ethon::Easy::Callbacks
Public Instance Methods
debug_callback()
click to toggle source
# File lib/arachni/ethon/easy.rb, line 12 def debug_callback @debug_callback ||= proc do |handle, type, data, size, udata| # We only care about these so that we can have access to raw # HTTP request traffic for reporting/debugging purposes. next if type != :header_out && type != :data_out message = data.read_string( size ) @debug_info.add type, message 0 end end