getty icon indicating copy to clipboard operation
getty copied to clipboard

Imp: handle request from server

Open AlexStocks opened this issue 5 years ago • 1 comments

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 avatar Jan 14 '20 04:01 AlexStocks

cc @watermelo

AlexStocks avatar Oct 28 '20 12:10 AlexStocks