Skip to content

Commit da182c2

Browse files
kirshsbt
authored andcommitted
Update docs in net/http.rb
...to reflect that Net::HTTP.start accepts keep_alive_timeout as an option.
1 parent 58d2b77 commit da182c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ def HTTP.socket_type #:nodoc: obsolete
586586
# _opt_ :: optional hash
587587
#
588588
# _opt_ sets following values by its accessor.
589-
# The keys are ipaddr, ca_file, ca_path, cert, cert_store, ciphers,
589+
# The keys are ipaddr, ca_file, ca_path, cert, cert_store, ciphers, keep_alive_timeout,
590590
# close_on_empty_response, key, open_timeout, read_timeout, write_timeout, ssl_timeout,
591591
# ssl_version, use_ssl, verify_callback, verify_depth and verify_mode.
592592
# If you set :use_ssl as true, you can use https and default value of

0 commit comments

Comments
 (0)