summaryrefslogtreecommitdiff
path: root/lib/xmlrpc
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-13 14:07:28 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-13 14:07:28 +0000
commit2b83a57fcb81e14252a0922ac2fa5d460f9b06ab (patch)
tree9b4ad4f42e0ac87a2c9ed6fd006a9b09b02a67f6 /lib/xmlrpc
parent16d5c80678042e7d9f42c022ba7b1816f15611ad (diff)
* lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for raw
Net::HTTP. [ruby-core:55197] [Feature #8461] Reported by Herwin Weststrate. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc')
-rw-r--r--lib/xmlrpc/client.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/xmlrpc/client.rb b/lib/xmlrpc/client.rb
index f213fdf8d1..ced3d0183f 100644
--- a/lib/xmlrpc/client.rb
+++ b/lib/xmlrpc/client.rb
@@ -188,6 +188,13 @@ module XMLRPC # :nodoc:
end
+ # Returns the Net::HTTP object for the client. If you want to
+ # change HTTP client options except header, cookie, timeout,
+ # user and password, use Net::HTTP directly.
+ #
+ # Since 2.1.0.
+ attr_reader :http
+
# Add additional HTTP headers to the request
attr_accessor :http_header_extra