Proxy Authentication using HttpClient

Cyan

Member
Licensed User
Longtime User
Hi All,

I am fairly new to B4A and am just getting to grips with the libraries and code so please forgive the basic question.

Please could anyone let me know how I could access a URL using HttpClient via a proxy that requires authentication?

In the existing HttpClient in B4A, we have the API "setProxy", however, there is no option to specify any authentication details for it (i.e. there is no "setProxyCredentials" method).

If you have any ideas or ways around this, please could you share them?

Thanks for any input!
 

Cyan

Member
Licensed User
Longtime User
Thank you! This is just what I needed! Amazing support :icon_clap:

I am now using HttpUtil2 which I slightly modified to include SetProxy2 as you recommended and it's working perfectly!
 
Upvote 0
Top