Phoenix LiveView v0.15.4 Phoenix.LiveView.Socket View Source
The LiveView socket for Phoenix Endpoints.
This is typically mounted directly in your endpoint.
socket "/live", Phoenix.LiveView.Socket
Link to this section Summary
Link to this section Types
Specs
assigns() :: map() | Phoenix.LiveView.Socket.AssignsNotInSocket.t()
Specs
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()
}