WebRequestLoader does not support proxy server

Đang mở
#612 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@hybridherbst đang làm issue này rồi.

Từ ngày 9/2/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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);

Ngôn ngữ chính
C#
Star
2.3k
Fork
539
Merge trung bình
3 ngày 15 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của KhronosGroup/UnityGLTF

Tất cả issue của KhronosGroup/UnityGLTF

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.