class Async::HTTP::Body::Wrapper

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

def close(error = nil)

def close(error = nil)
	@body.close(error)
	
	super
end

def empty?

def empty?
	@body.empty?
end

def finish

Buffer any remaining body.
def finish
	@body.finish
end

def initialize(body)

def initialize(body)
	@body = body
end

def length

def length
	@body.length
end

def read

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