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

Explain the advantages over a HTTP push? #3

Open
cheako opened this issue Feb 24, 2020 · 1 comment
Open

Explain the advantages over a HTTP push? #3

cheako opened this issue Feb 24, 2020 · 1 comment

Comments

@cheako
Copy link

cheako commented Feb 24, 2020

I guess lack of file size limits is an obvious example, but HTTP could just as easily be extended.

I was looking to use the socket concurrently, it looks like with this implementation the sending of unrelated Text and Binary frames would be ill-advised. Adding this wouldn't cost much, given the overhead of WS. Add in magic numbers. { name : is 0x7b206e616d65203a for example. For binary frames the server could send a generated or static magic number to prefix every binary frame.

@jberger
Copy link
Owner

jberger commented Feb 24, 2020

This project is essentially abandoned. It was an experiment that I haven't looked at in a very long time.

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