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

Support compression #1958

Merged
merged 2 commits into from
Jan 23, 2015
Merged

Support compression #1958

merged 2 commits into from
Jan 23, 2015

Conversation

nkzawa
Copy link
Contributor

@nkzawa nkzawa commented Jan 21, 2015

Support compression and add the compress method which user can set the compress flag for a subsequent event emission.

@nkzawa
Copy link
Contributor Author

nkzawa commented Jan 21, 2015

I think nocompress flag also can be an option instead of compress(false).

socket.nocompress.emit('myevent');

@rauchg
Copy link
Contributor

rauchg commented Jan 21, 2015

Since I think it's fairly rare, a .compress(false) flag should suffice.

@@ -19,7 +19,7 @@
"test": "mocha --reporter dot --slow 200ms --bail"
},
"dependencies": {
"engine.io": "1.5.1",
"engine.io": "Automattic/engine.io",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's point to a specific #commit

@@ -19,7 +19,7 @@
"test": "mocha --reporter dot --slow 200ms --bail"
},
"dependencies": {
"engine.io": "1.5.1",
"engine.io": "Automattic/engine.io#ddc64a2d1286295fa7beaf2b113d6cbe4fbbc66b",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next time you can just use 7 digits.

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

Successfully merging this pull request may close these issues.

2 participants