View Source ExMobileDevice.Ssl (exmobiledevice v0.2.22)
SSL/TLS helper functions.
This module contains a helper function, connect/2
that can be used
to authenticate an existing :gen_tcp
socket.
Summary
Functions
Authenticate an existing connection, using a pair-record.
Functions
@spec connect(port(), map()) :: {:ok, :ssl.sslsocket()} | {:error, any()}
Authenticate an existing connection, using a pair-record.
On success, returns an :ssl
socket.