= private = protected
body()
Returns the request body.
# File lib/webrick/httprequest.rb, line 254 def body(&block) # :yields: body_chunk block ||= Proc.new{|chunk| @body << chunk } read_body(@socket, block) @body.empty? ? nil : @body end