lib/async/http/protocol/http1/response.rb in async-http-0.50.4 vs lib/async/http/protocol/http1/response.rb in async-http-0.50.5
- old
+ new
@@ -40,9 +40,13 @@
protocol = connection.upgrade?(headers)
super(version, status, headers, body, protocol)
end
+ def connection
+ @connection
+ end
+
def hijack?
@body.nil?
end
def hijack!