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

More flexible way of sending data to server #1

Open
yosefAlsuhaibani opened this issue Jun 14, 2021 · 2 comments
Open

More flexible way of sending data to server #1

yosefAlsuhaibani opened this issue Jun 14, 2021 · 2 comments

Comments

@yosefAlsuhaibani
Copy link
Collaborator

No description provided.

@yosefAlsuhaibani
Copy link
Collaborator Author

yosefAlsuhaibani commented Jun 14, 2021

As of right now, the server only contains functions F of type F: u64 -> u64. Will need a non-type dependent way to send arguments and result back and forth; this crate might help: https://docs.serde.rs/serde/

@yosefAlsuhaibani
Copy link
Collaborator Author

yosefAlsuhaibani commented Jun 25, 2021

It's not perfect, but it is implemented: serde is now used to send a struct IngerRequest that should contain all the information the server needs. However, it is still type dependent.

@yosefAlsuhaibani yosefAlsuhaibani added enhancement New feature or request and removed enhancement New feature or request labels Jun 25, 2021
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

No branches or pull requests

1 participant