Phoenix.SocketClient.Channel.Helpers (phoenix_socket_client v0.8.0)
View SourceHelper functions for Phoenix.SocketClient.Channel GenServer callbacks.
This module contains the actual implementation logic for channel callbacks,
extracted from the __using__ macro to improve code maintainability.
Summary
Functions
Handles the :get_topic call.
Handles the :join call.
Handles the :leave call.
Handles regular message info.
Handles phx_reply messages.
Handles the {:push, event, payload} call.
Handles the {:push, event, payload} cast.
Initializes a channel process.
Handles channel termination.
Functions
Handles the :get_topic call.
Handles the :join call.
Handles the :leave call.
Handles regular message info.
Handles phx_reply messages.
Handles the {:push, event, payload} call.
Handles the {:push, event, payload} cast.
Initializes a channel process.
Handles channel termination.