set Proxy
Since
5.3.0
Sets the IM SDK proxy. If the proxy is invalid, the SDK will not automatically detect it and will use the invalid proxy, leading to connection failure. It is recommended to call the testProxy method to test the proxy's availability before calling this method. This method must be called before init. To reset the proxy, you need to call disconnect first, then reset and reconnect. The proxy settings are only stored in memory and are not persisted, so you need to reset them every time the app is launched.
Return
The result of the setting
Parameters
proxy