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

Push payload to client #4

Closed
tgrk opened this issue Feb 2, 2016 · 3 comments
Closed

Push payload to client #4

tgrk opened this issue Feb 2, 2016 · 3 comments

Comments

@tgrk
Copy link

tgrk commented Feb 2, 2016

I am trying to implement handler based on examples but I am missing way to push payload from server to a client.

@evanmcc
Copy link

evanmcc commented Oct 30, 2016

You should be able to do self() ! payload then handle that message and push the payload in the websocket_info callback, no?

@evanmcc
Copy link

evanmcc commented Oct 30, 2016

I just now read the date here.

@tgrk
Copy link
Author

tgrk commented Oct 30, 2016

Thanks I completely "ignored" standard Erlang way to do that.

@tgrk tgrk closed this as completed Oct 30, 2016
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