We're building our proxy server and want all requests to ArcGIS service go through it.
From the Web I found that they support a method to config proxy rules:
/**
* Adds the given proxy rule to the proxy rules list: `esriConfig.request.proxyRules`.
*
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-urlUtils.html#addProxyRule)
*
* @param rule An object specifying a URL that should use the proxy. See the object specification table below for the required properties of this object.
* @param rule.proxyUrl The URL of the proxy.
* @param rule.urlPrefix The URL prefix of the resources that should be accessed through the given proxy.
*
*/
addProxyRule(rule: urlUtilsAddProxyRuleRule): number;
But I can not find the API for iOS SDK. Could anyone has experience share with me how can I use proxy with the iOS ArcGIS SDK?
Many thanks!