This PR switches the http client. We now use okHttp instead of volley.
Motivation and Context
With volley it was not possible to force the connection to use a proxy. If the connection failed, volley just made a fallback to use no proxy.
For the upcoming Tor update we want to make sure that all traffic can be forced to use Tor or fail.
With okHttp this is possible.
How Has This Been Tested?
On my S9
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Chore
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
This PR switches the http client. We now use okHttp instead of volley.
Motivation and Context
With volley it was not possible to force the connection to use a proxy. If the connection failed, volley just made a fallback to use no proxy. For the upcoming Tor update we want to make sure that all traffic can be forced to use Tor or fail. With okHttp this is possible.
How Has This Been Tested?
On my S9
Types of changes
Checklist: