Simplificator3000Phoenix.Channel.ChannelHelpers (Simplificator3000 Phoenix v1.1.3)
Summary
Functions
Link to this function
error(opts \\ [])
Link to this function
error_push(socket, event, opts)
Link to this function
error_reply(socket, opts \\ [])
@spec error_reply(Phoenix.Socket.t() | Phoenix.Channel.socket_ref(), Keyword.t()) :: {:noreply, Phoenix.Socket.t()} | {:noreply, Phoenix.Socket.t(), timeout() | :hibernate} | {:reply, Phoenix.Channel.reply(), Phoenix.Socket.t()} | {:stop, reason :: term(), Phoenix.Socket.t()} | {:stop, reason :: term(), Phoenix.Channel.reply(), Phoenix.Socket.t()} | :ok
Link to this function
put_request_id(socket)
Link to this function
request_id(map)
Link to this function
success(data \\ nil, opts \\ [])
Link to this function
success_push(socket, event, data \\ nil, opts \\ [])
Link to this function
success_reply(socket, data \\ nil, opts \\ [])
@spec success_reply( Phoenix.Socket.t() | Phoenix.Channel.socket_ref(), any(), Keyword.t() ) :: {:noreply, Phoenix.Socket.t()} | {:noreply, Phoenix.Socket.t(), timeout() | :hibernate} | {:reply, Phoenix.Channel.reply(), Phoenix.Socket.t()} | {:stop, reason :: term(), Phoenix.Socket.t()} | {:stop, reason :: term(), Phoenix.Channel.reply(), Phoenix.Socket.t()} | :ok