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

Prepare 0.8 #195

Merged
merged 2 commits into from
Dec 11, 2023
Merged

Prepare 0.8 #195

merged 2 commits into from
Dec 11, 2023

Conversation

Totodore
Copy link
Owner

@Totodore Totodore commented Dec 11, 2023

0.8.0

socketioxide

  • Add transport_type and protocol fn on the Socket struct. It allows to know the transport type and the protocol used by the socket.
  • Dynamic DisconnectHandler. Now the on_disconnect handler take a dynamic handler that maybe async and contain any type that implements FromDisconnectParts. It allows to extract data from the disconnection, like the socket, the reason of the disconnection, the state etc.
  • New state feature flag. It enables global state management. It is useful to share data between handlers. It is disabled by default.

engineioxide

  • Packet encoding/decoding optimizations.

@Totodore Totodore merged commit 82b4b2b into main Dec 11, 2023
27 checks passed
@Totodore Totodore deleted the prepare-0.8 branch December 11, 2023 17:27
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