How to call a client callback on the server?

RPC follow these steps:

server define a function foo_max(para) client call foo_max, send 'max+para' server get 'max' and call foo_max(para) server send return val client get result and return 

But this method is not flexible, because I have to define all the functions on the server. My thing is that I want to support a client-side custom callback function, so how can I call a client callback function on the server?

thanks

0
callback serialization rpc messagepack
source share

No one has answered this question yet.

See similar questions:

3
Can I use "eval" to define a function in Python?

or similar:

1204
How to access the correct `this` inside a callback?
746
How to pass parameter to callbackTimeout ()?
651
How to convert existing callback API to promises?
613
What is a callback function?
3
WCF callback method from server to client with return value
2
Design Template for Client Server
one
RPC Callback Management Method
one
callback in the implementation of protobuffers -?
0
WCF asynchronous client client call with object

All Articles