View Source ExMobileDevice.Ssl (exmobiledevice v0.2.15)

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

Link to this function

connect(socket, pair_record)

View Source
@spec connect(port(), map()) :: {:ok, :ssl.sslsocket()} | {:error, any()}

Authenticate an existing connection, using a pair-record.

On success, returns an :ssl socket.