class Protocol::HTTP::Body::Stream

def close(error = nil)

@parameter error [Exception | Nil] The error that caused this stream to be closed, if any.

Close the input and output bodies.
def close(error = nil)
	self.close_read(error)
	self.close_write(error)
	
	return nil
ensure
	@closed = true
end