How to set http proxy dynamically
Open
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
I have a requirement. If the image loading fails while the app is running, I need to set up a proxy to access the image. For normal access, there is no need to set up a proxy. In order to modify the image loading timeout, I have customized the AppGlideModule. If I Define the http proxy in AppGlideModule, so that all proxies will be used, which is not as expected. Is there a way to dynamically set the http proxy during operation?
**Glide Version**:
4.16.0
**Integration libraries**:
okhttp4
**Device/Android Version**:
nexus6
Contributor guide
Assessment
This issue has not been assessed yet.