Module: Ethon::Easy::Callbacks

Defined in:
lib/arachni/ethon/easy.rb

Instance Method Summary collapse

Instance Method Details

#debug_callbackObject



12
13
14
15
16
17
18
19
# File 'lib/arachni/ethon/easy.rb', line 12

def debug_callback
    @debug_callback ||= proc do |handle, type, data, size, udata|
        message = data.read_string( size )
        @debug_info.add type, message
        # print message unless [:data_in, :data_out].include?(type)
        0
    end
end