lib/async/http/protocol/http1/request.rb in async-http-0.50.4 vs lib/async/http/protocol/http1/request.rb in async-http-0.50.5
- old
+ new
@@ -39,9 +39,13 @@
protocol = connection.upgrade?(headers)
super(nil, authority, method, path, version, headers, body, protocol)
end
+ def connection
+ @connection
+ end
+
def hijack?
true
end
def hijack!