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

Problems when sending client acks #5

Open
seglo opened this issue Oct 6, 2017 · 1 comment
Open

Problems when sending client acks #5

seglo opened this issue Oct 6, 2017 · 1 comment

Comments

@seglo
Copy link

seglo commented Oct 6, 2017

Hi,

I recently timeboxed an exercise to try out play-socketio with a client callback. I attempted to modify the simple Chat sample app using the "Handling Acks" section of docs. I may be using the library wrong, or the client lib wrong, but what I observed is that the first event I emitted was ack'd properly in the client callback, but no subsequent event worked. I also expected the response I sent the callback to show up in the namespaced stream I setup, but I did not see it there.

These are the changes I made to the sample app:
master...seglo:master

https://github.com/seglo/play-socket.io/blob/master/samples/scala/chat/app/chat/ChatEngine.scala

Any assistance would be appreciated.

Thanks,
Sean

@skyluc
Copy link

skyluc commented Dec 1, 2017

I was able to get it to work on a minimal test.
I'll check @seglo code to see if I can find a difference.

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