Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server->client messages are getting echoed back to the websocket server #37

Open
circuitry opened this issue Jul 4, 2018 · 1 comment

Comments

@circuitry
Copy link

I am trying to send a message from a server to a client and to have an action dispatched client-side.

The action is getting dispatched successfully, but the client echos back the message it received to the server, resulting in unnecessary server traffic. Is there any way to disable this server->client->server echoing behavior?

@DaneSirois
Copy link

Hmm, it sounds like it might be configuration issue. Are the actions that you are dispatching from your server prefixed with server/? I have not confirmed, but I would assume that if you emit an action from your server with the websocket prefix that it would echo it back like you are describing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants