Xirsys.Sockets.Transport.DTLS (xturn_sockets v2.2.0)

View Source

DTLS datagram transport. Delegates to Transport.TLS with protocol: :dtls.

iex> Xirsys.Sockets.Transport.DTLS.framing()
:datagram
iex> Xirsys.Sockets.Transport.DTLS.handle_message({:ssl, :port, "hi"}, :sock)
{:data, "hi", nil}