We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bf7b9f commit b5292d6Copy full SHA for b5292d6
lib/async/http/protocol/request.rb
@@ -41,6 +41,10 @@ def remote_address
41
def remote_address= value
42
@remote_address = value
43
end
44
+
45
+ def inspect
46
+ "#<#{self.class}:0x#{self.object_id.to_s(16)} method=#{method} path=#{path} version=#{version}>"
47
+ end
48
49
50
lib/async/http/protocol/response.rb
@@ -33,6 +33,10 @@ def remote_address
33
34
35
36
37
38
+ "#<#{self.class}:0x#{self.object_id.to_s(16)} status=#{status}>"
39
40
0 commit comments