You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# @attribute [Proc] a callback which is called when an interim response is received.
76
78
attr_accessor:interim_response
77
79
80
+
# @attribute [Boolean | Nil] an override for {#idempotent?}, or `nil` to use the default method-based heuristic.
81
+
attr_accessor:idempotent
82
+
78
83
# A request that is generated by a server, may choose to include the peer (address) associated with the request. It should be implemented by a sub-class.
79
84
#
80
85
# @returns [Peer | Nil] The peer (address) associated with the request.
@@ -124,16 +129,21 @@ def connect?
124
129
# @parameter path [String] The path, e.g. `"/index.html"`, `"/search?q=hello"`, etc.
125
130
# @parameter headers [Hash] The headers, e.g. `{"accept" => "text/html"}`, etc.
126
131
# @parameter body [String | Array(String) | Body::Readable] The body, e.g. `"Hello, World!"`, etc. See {Body::Buffered.wrap} for more information about .
0 commit comments