[前][次][番号順一覧][スレッド一覧]

ruby-changes:61567

From: Kir <ko1@a...>
Date: Fri, 5 Jun 2020 08:46:23 +0900 (JST)
Subject: [ruby-changes:61567] a16fcb4205 (master): Update docs in net/http.rb

https://git.ruby-lang.org/ruby.git/commit/?id=a16fcb4205

From a16fcb420549ae45f7e29a923d2230b0980071f3 Mon Sep 17 00:00:00 2001
From: Kir Shatrov <shatrov@m...>
Date: Thu, 4 Jun 2020 16:25:20 +0100
Subject: Update docs in net/http.rb

...to reflect that Net::HTTP.start accepts keep_alive_timeout as an option.

diff --git a/lib/net/http.rb b/lib/net/http.rb
index ce251b4..fe237dc 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -585,7 +585,7 @@ module Net   #:nodoc: https://github.com/ruby/ruby/blob/trunk/lib/net/http.rb#L585
     # _opt_     :: optional hash
     #
     # _opt_ sets following values by its accessor.
-    # The keys are ipaddr, ca_file, ca_path, cert, cert_store, ciphers,
+    # The keys are ipaddr, ca_file, ca_path, cert, cert_store, ciphers, keep_alive_timeout,
     # close_on_empty_response, key, open_timeout, read_timeout, write_timeout, ssl_timeout,
     # ssl_version, use_ssl, verify_callback, verify_depth and verify_mode.
     # If you set :use_ssl as true, you can use https and default value of
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]