How to judge if a call is asynchronous call on the server side?
-
- Posts: 4
- Joined: Sat Jan 12, 2019 8:35 am
How to judge if a call is asynchronous call on the server side?
I want the server side to process synchronous calls and asynchronous calls differently, and how can I know? Thank you.
Re: How to judge if a call is asynchronous call on the server side?
For an RCF server, synchronous and asynchronous calls look exactly the same. So if your server needs to treat these two situations differently, you'll need to add the information into your remote calls, either as extra parameters in your remote methods, or by setting some custom user data in your remote calls.