Skip to content

Commit

Permalink
Document connect_timeout in Constructor Details
Browse files Browse the repository at this point in the history
Previously, this was only documented in the `Overview` section and
missing from https://www.rubydoc.info/github/ruby-ldap/ruby-net-ldap/Net%2FLDAP:initialize
  • Loading branch information
alexjfisher committed May 25, 2023
1 parent 3d03e60 commit e7896d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/net/ldap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,8 @@ def self.result2string(code) #:nodoc:
# server says it supports them. This is a fix for MS Active Directory
# * :instrumentation_service => An object responsible for instrumenting
# operations, compatible with ActiveSupport::Notifications' public API.
# * :connect_timeout => The TCP socket timeout (in seconds) to use when
# connecting to the LDAP server (default 5 seconds).
# * :encryption => specifies the encryption to be used in communicating
# with the LDAP server. The value must be a Hash containing additional
# parameters, which consists of two keys:
Expand Down

0 comments on commit e7896d8

Please sign in to comment.