class Protocol::HTTP::Body::Buffered
def self.read(body)
@parameter body [Readable] the body to read.
Read the entire body into a buffered representation.
def self.read(body) chunks = [] body.each do |chunk| chunks << chunk end self.new(chunks) end