useProxy

abstract fun useProxy(): Boolean

If useProxy flag is `true` ConversationsClient will try to read and apply proxy settings in the following order:

  1. If there is no proxysettings.properties file in the assets folder of your app then android system proxy settings will be applied.
  2. If the proxysettings.properties file exists in the assets folder of your app then proxy configuration will be read from it and android system settings will be ignored.
  3. If proxy settings cannot be read either from the proxysettings.properties file and from android system settings ConversationsClient will use direct connection.
If this flag is `false` all proxy settings will be ignored and direct connection will be used.

The default value is `false`.

In current version connection via proxy server is not supported for media. So media uploading always uses direct connection.

Example of the proxysettings.properties file:


         host=192.168.8.108
         port=8080
         user=myUser
         password=myPassword