Phoenix.Socket.assign/3

Parsed documentation:
View on GitHub
Adds key/value pair to socket assigns.

## Examples

    iex> socket.assigns[:token]
    nil
    iex> socket = assign(socket, :token, "bar")
    iex> socket.assigns[:token]
    "bar"
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.