Method: Spider::HTTP::RackRequest#body
- Defined in:
- lib/spiderfw/http/adapters/rack.rb
#body(&proc) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/spiderfw/http/adapters/rack.rb', line 10 def body(&proc) if block_given? @rack_input.each{ |buf| yield buf } else @rack_input end end |