class Protocol::HTTP::Body::Stream

def puts(*arguments, separator: NEWLINE)

@parameter separator [String] The line separator, defaults to `\n`.
@parameter arguments [Array(String)] The lines to write.

The current implementation buffers the lines and writes them in a single operation.

Write lines to the stream.
def puts(*arguments, separator: NEWLINE)
	buffer = ::String.new
	
	arguments.each do |argument|
		buffer << argument << separator
	end
	
	write(buffer)
end