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

implement binary data stream #94

Open
skariel opened this issue Dec 8, 2013 · 2 comments
Open

implement binary data stream #94

skariel opened this issue Dec 8, 2013 · 2 comments

Comments

@skariel
Copy link
Owner

skariel commented Dec 8, 2013

maybe this can help:

http://stackoverflow.com/questions/13914427/file-upload-via-websockets-to-play-framework-2-0

@skariel
Copy link
Owner Author

skariel commented Dec 8, 2013

how to use some binary data, for e.g.:

ws.onmessage = function (e) {
    $("#image").attr('src',  'data:image/jpg;base64,'+e.data);
}

@skariel
Copy link
Owner Author

skariel commented Jan 5, 2014

idea hot to implement:

send through the WS instructions to both open a new WS connection to D/L the data and what to do when the data arrives

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

1 participant