docs: document how to retrieve peercert
This commit is contained in:
parent
dc147fd310
commit
c64e599e81
|
@ -1996,6 +1996,8 @@ trim_conninfo(ConnInfo) ->
|
||||||
%% NOTE
|
%% NOTE
|
||||||
%% We remove the peercert because it duplicates what's stored in the socket,
|
%% We remove the peercert because it duplicates what's stored in the socket,
|
||||||
%% otherwise it wastes about 1KB per connection.
|
%% otherwise it wastes about 1KB per connection.
|
||||||
|
%% Retrieve with: esockd_transport:peercert(Socket).
|
||||||
|
%% Decode with APIs exported from esockd_peercert and esockd_ssl
|
||||||
peercert
|
peercert
|
||||||
],
|
],
|
||||||
ConnInfo
|
ConnInfo
|
||||||
|
|
Loading…
Reference in New Issue