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

Imp: handle request from server #26

Open
AlexStocks opened this issue Jan 14, 2020 · 1 comment
Open

Imp: handle request from server #26

AlexStocks opened this issue Jan 14, 2020 · 1 comment

Comments

@AlexStocks
Copy link
Owner

AlexStocks commented Jan 14, 2020

At present, the rpc means that only the server can receive request from client and then send back its response. However, the client can not handle the request from the server.

To handle request from server, the client should register its callback. what's more, we have an agreement that the sequence in the request package from the client should be an odd number and the sequence in the request package from server is an even number.

@AlexStocks
Copy link
Owner Author

cc @watermelo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant