Skip to content

Conversation

@axos88
Copy link

@axos88 axos88 commented Dec 26, 2025

Third and final PR of the solution to #392, and builds on top of #539 and #540.

The diff view will show both PRs, please take a look at the commit view for a clean diff.

This makes it possible to change the shared context sent between client and server, allowing functionality like semi-persistent session data (think http cookies), that is sent by the client, and can be manipulated by the server before sending back, without polluting the trait API.

Take a look at the custom_context example to see how sessions can be implemented, and also how the ClientContext, ServerContext and CustomSharedContext work together.

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