send all requests through proxy server in android app

Hi

Because of some reasons (security, ping time and etc.) I have to send all http requests in my app through a custom proxy server. I’m handling usual http requests through proxy server by setting http server described in this link. but Backendless library is not working with this and sends all requests without using my proxy settings!
Can anyone please help me doing this? Is there any way I can force Backendless use my proxy settings to communicate with the server?

Thanks a lot

Hello,

You could use the following method to direct the Backendless library requests to another host:

Backendless.setUrl( url );

Where url is in the following format:

https://host:port

I am not sure if this will work for a proxy server. My understanding is the proxy should be configured for the entire device in the networking settings.

Regards,
Mark