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

[Draft] Exposed functions + session reload #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Menkveld-24
Copy link

@Menkveld-24 Menkveld-24 commented Sep 19, 2023

This adds the ability for sessions to be also encoded and decoded by other packages as well as adding a session reload option.

This was added because I've created (still wip) a package that allows these sessions to be used by socket.io as well (https://github.com/Menkveld-24/fastify-socketio-session). My package now uses this session package to decrypt a session and inserts it into socketio (using https://github.com/ducktors/fastify-socket.io).

However these modifications to your package are quite generic and might be useful to others as well.

Let me know what you think of this

@Menkveld-24 Menkveld-24 changed the title Session reload [Draft] Exposed functions + session reload Sep 19, 2023
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