LdapConnection.copy constructor

LdapConnection.copy(
  1. LdapConnection c
)

Implementation

LdapConnection.copy(LdapConnection c)
    : _host = c.host,
      _port = c.port,
      _bindDN = c.bindDN,
      _password = c._password,
      _isSSL = c._isSSL,
      _lastBindRequest = c._lastBindRequest,
      _badCertHandler = c._badCertHandler {
  _cmgr = ConnectionManager(this, tlsSecurityContext: _context);
}