ExDTLS.do_handshake

You're seeing just the function do_handshake, go back to ExDTLS module for more information.
Link to this function

do_handshake(pid, packets \\ <<>>)

View Source

Specs

do_handshake(pid :: pid(), packets :: binary()) ::
  :ok | {:ok, packets :: binary()}

Starts performing DTLS handshake.

Generates initial DTLS packets that have to be passed to the second host. Has to be called by a host working in the client mode.