Page 1 of 1

How to judge if a call is asynchronous call on the server side?

Posted: Tue Jul 28, 2020 1:40 am
by woshishuier
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?

Posted: Tue Jul 28, 2020 1:22 pm
by jarl
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.