Phoenix.LiveView.Socket
The LiveView socket for Phoenix Endpoints.
Summary
Types
Functions
- connect(params, socket, connect_info)
-
Connects the Phoenix.Socket for a LiveView client.
- id(socket)
-
Identifies the Phoenix.Socket for a LiveView client.
Types
assigns()
Specs
assigns() :: map() | Phoenix.LiveView.Socket.AssignsNotInSocket.t()
fingerprints()
Specs
fingerprints() :: {nil, map()} | {binary(), map()}
t()
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() }
Functions
connect(params, socket, connect_info)
Connects the Phoenix.Socket for a LiveView client.
id(socket)
Identifies the Phoenix.Socket for a LiveView client.
© 2018 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.Socket.html