class Async::HTTP::Body::Wrapper

Wrapping body instance. Typically you’d override ‘#read`.

def close

Buffer any remaining body.
def close
	@body = @body.close
	
	return self
end

def empty?

def empty?
	@body.empty?
end

def initialize(body)

def initialize(body)
	@body = body
end

def inspect

def inspect
	return @body.inspect
end

def length

def length
	@body.length
end

def read

Read the next available chunk.
def read
	@body.read
end

def stop(error)

def stop(error)
	@body.stop(error)
end