lib/async/http/protocol/http1/connection.rb in async-http-0.35.1 vs lib/async/http/protocol/http1/connection.rb in async-http-0.36.0

- old
+ new

@@ -29,9 +29,17 @@ module Async module HTTP module Protocol module HTTP1 class Connection < ::HTTP::Protocol::HTTP1::Connection + def initialize(stream, version) + super(stream) + + @version = version + end + + attr :version + CRLF = "\r\n" attr :stream def read_line