Real-time Phoenix (Pragprog)

It looks like you copied the broadcast function into the wscat process rather than the iex terminal:

%Jason.DecodeError{data: "HelloSocketsWeb.Endpoint.broadcast(\"ping\", \"test\", %{data: \"test\"})", position: 0, token: nil}
1 Like