Sha256: df4767130a3b4f921337dd59a55c0763d568873494b1ce45de2f30c71601abd8

Contents?: true

Size: 763 Bytes

Versions: 5

Compression:

Stored size: 763 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

module Ethon
class Easy
module Callbacks
    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
end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 lib/arachni/ethon/easy.rb
arachni-1.6.1.2 lib/arachni/ethon/easy.rb
arachni-1.6.1.1 lib/arachni/ethon/easy.rb
arachni-1.6.1 lib/arachni/ethon/easy.rb
arachni-1.6.0 lib/arachni/ethon/easy.rb