From 6706de788689d4b65f2190fb047641a6d94a6131 Mon Sep 17 00:00:00 2001 From: anupamasingh10 Date: Fri, 10 Mar 2023 19:25:11 +0100 Subject: Update eldap:info/1 documentation --- lib/eldap/doc/src/eldap.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/eldap/doc/src/eldap.xml b/lib/eldap/doc/src/eldap.xml index edc308ba52..aae0f346b9 100644 --- a/lib/eldap/doc/src/eldap.xml +++ b/lib/eldap/doc/src/eldap.xml @@ -549,14 +549,15 @@ Control2 = eldap:paged_result_control(PageSize, Cookie1), - info(Handle) -> #{socket := Socket, socket_type := tcp | ssl} - Returns the SSL or TCP socket for LDAP connection. + info(Handle) -> connection_info() + Returns information about the LDAP connection. + connection_info() = #{socket := Socket, socket_type := tcp | ssl} Socket = ssl:sslsocket() | gen_tcp:socket() -

Returns the socket type and socket for a TCP/SSL connection - to an LDAP server

+

Currently available information reveals the socket and the transport + protocol, TCP or TLS (SSL), used by the LDAP connection.

-- cgit v1.2.1