class Protocol::HTTP::Body::Stream
def puts(*arguments, separator: NEWLINE)
@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