Phoenix LiveView v0.15.0 Phoenix.LiveView.Socket View Source

The LiveView socket for Phoenix Endpoints.

Link to this section Summary

Functions

Connects the Phoenix.Socket for a LiveView client.

Identifies the Phoenix.Socket for a LiveView client.

Link to this section Types

Specs

Specs

fingerprints() :: {nil, map()} | {binary(), map()}

Specs

t() :: %Phoenix.LiveView.Socket{
  assigns: assigns(),
  changed: map(),
  connected?: boolean(),
  endpoint: module(),
  fingerprints: fingerprints(),
  host_uri: URI.t(),
  id: binary(),
  parent_pid: nil | pid(),
  private: map(),
  redirected: nil | tuple(),
  root_pid: pid(),
  root_view: module(),
  router: module(),
  view: module()
}

Link to this section Functions

Link to this function

connect(params, socket, connect_info)

View Source

Connects the Phoenix.Socket for a LiveView client.

Identifies the Phoenix.Socket for a LiveView client.