Teals.Socket (teals v0.1.0)

Copy Markdown View Source

A TLS server socket, returned by Teals.handshake/3.

It names the connection process, which owns the TCP socket and holds the TLS session, and the TCP socket itself. Its fields are private to :teals.

Summary

Types

t()

@type t() :: %Teals.Socket{pid: pid(), tcp: :gen_tcp.socket()}