Phoenix.SocketClient.Socket (phoenix_socket_client v0.7.0)

The socket process for handling the WebSocket connection.

Summary

Functions

Returns a specification to start this module under a supervisor.

Types

t()

@type t() :: %Phoenix.SocketClient.Socket{
  connect_start_time: term(),
  status: :disconnected | :connecting | :connected,
  sup_pid: pid(),
  to_send_r: list(),
  transport_pid: pid() | nil,
  transport_ref: reference() | nil
}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.