ace v0.10.0 Ace.Connection View Source

Link to this section Summary

Types

Generic client connection from either tcp or tls socket

Details of a servers connection with a client

Connection transport type

Link to this section Types

Link to this type connection() View Source
connection() :: {:tcp, :inet.socket} | {:tls, :ssl.socket}

Generic client connection from either tcp or tls socket.

Link to this type information() View Source
information() :: %{peer: {:inet.ip_address, :inet.port_number}, transport: transport}

Details of a servers connection with a client.

Link to this type transport() View Source
transport() :: :tcp | :tls

Connection transport type.

Options:

  • :tcp
  • :tls

Link to this section Functions