KhronosGroup / KhronosGroup/UnityGLTF
WebRequestLoader does not support proxy server
Open
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 536
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Currently HttpClient in WebRequestLoader is private,
And WebRequestLoader does not provide any method to support proxy server.
If the program is running behind the proxy, then there is no way to download the asset from web.
Thank you.
example code,
```
proxy = new WebProxy
{
Address = new Uri(proxyUrl),
UseDefaultCredentials = true,
};
httpClientHandler = new HttpClientHandler
{
Proxy = proxy,
};
httpClient = new HttpClient(handler: httpClientHandler, disposeHandler: true);
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.