module Async::HTTP::BufferedBody::Reader
def close
def close return if self.body.nil? or self.body.closed? unless self.body.is_a? BufferedBody self.body = BufferedBody.new(self.body) end end
def read
def read self.body ? self.body.read : nil end
def close return if self.body.nil? or self.body.closed? unless self.body.is_a? BufferedBody self.body = BufferedBody.new(self.body) end end
def read self.body ? self.body.read : nil end