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

Allow for using custom json codecs in server and client #10

Merged
merged 3 commits into from
Dec 4, 2024

Conversation

Fabcien
Copy link
Contributor

@Fabcien Fabcien commented Dec 4, 2024

This makes it possible to override the json codec used by the server/client. The websocket codec is not impacted but could be added in a similar manner if needed.

This change extends the current API with a new builder creation function so that current code is not affected and keep working just like before, as demonstrated by the tests.

Related to #9.

@Fabcien
Copy link
Contributor Author

Fabcien commented Dec 4, 2024

Force pushed after running cargo fmt to make the CI happy

@hozan23
Copy link
Member

hozan23 commented Dec 4, 2024

Hello @Fabcien,

Thanks for your contribution

@hozan23 hozan23 merged commit 9621f47 into karyontech:master Dec 4, 2024
1 check passed
@Fabcien Fabcien deleted the custom_codec branch December 9, 2024 09:23
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