module Async::HTTP::Body::Reader
def close
def close self.stop end
def each(&block)
def each(&block) self.body.each(&block) end
def finish
def finish if self.body self.body = self.body.close end end
def read
def read if self.body self.body.join end end
def stop(error = EOFError)
def stop(error = EOFError) if self.body self.body.stop(error) self.body = nil end end