What is the role of setting exchange.SetTimeout ((3000) at the beginning of the policy?

Author: adei2010, Created: 2018-07-02 10:39:17, Updated:

I've seen the API documentation and I'm not sure what it is, please help me if you know something.

2.10.2 SetTimeout is not available. Rest-only protocol, which is used to set the overtime of the rest request, is only effective once set. For example: exchange.SetTimeout ((3000), set exchange exchange object, send rest request Start timer, more than 3 seconds, overtime returns null.


More

The Little DreamSetTimeout.SetTimeout ((3000) is set to send an HTTP request and respond to a timeout when the exchange object member function is called. Set to 3 seconds, more than 3 seconds without receiving a response from the exchange server, and return an error overtime.