class Protocol::Rack::Input

def closed?

Whether the stream has been closed.
def closed?
	@closed or @body.nil?
end