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

feat(engineioxide/v3) binary encoding payload #61

Merged
merged 21 commits into from
Aug 2, 2023

Conversation

Totodore
Copy link
Owner

@Totodore Totodore commented Jul 24, 2023

Add binary payloads support for v3.

It will fix CI and allow to fully support engine.io v3.
Steps :

  • binary encoder
  • binary decoder
  • fix closes the session upon invalid packet format in v3
  • benchmark decoding encoding and compare stream decoding with previous buffered implementation

The query param `b64` is taken from the handshake and given to each socket (by default it false and binary support will be prefered)
Implements v3 & v4 encoder in a custom payload module with different behavior.
Supports binary encoder for v3.
@Totodore Totodore changed the title Feat(engineioxide/v3) binary encoding payload feat(engineioxide/v3) binary encoding payload Jul 29, 2023
@Totodore Totodore marked this pull request as ready for review August 2, 2023 20:50
engineioxide/src/payload/mod.rs Fixed Show fixed Hide fixed
engineioxide/src/payload/mod.rs Fixed Show fixed Hide fixed
engineioxide/src/payload/mod.rs Fixed Show fixed Hide fixed
engineioxide/src/payload/mod.rs Fixed Show fixed Hide fixed
engineioxide/src/payload/mod.rs Fixed Show fixed Hide fixed
engineioxide/src/payload/mod.rs Fixed Show fixed Hide fixed
engineioxide/src/payload/mod.rs Fixed Show fixed Hide fixed
@Totodore Totodore merged commit 14d7233 into main Aug 2, 2023
6 checks passed
@Totodore Totodore deleted the feat(engineioxide/v3)-binary-encoding-payload branch August 2, 2023 21:11
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.

1 participant