IWebProxy Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the base interface for implementation of proxy access for the HttpClient class.
public interface class IWebProxy
public interface IWebProxy
type IWebProxy = interface
Public Interface IWebProxy
- Derived
Remarks
The IWebProxy interface provides the methods and properties that are required by the HttpClient class to access proxy servers.
The WebProxy class is the base implementation of the IWebProxy interface.
Notes to Implementers
The GetProxy(Uri) method can be used to control proxy use based on the destination URI. Use the IsBypassed(Uri) method to indicate that the proxy should not be used to reach the destination server.
Properties
Credentials |
The credentials to submit to the proxy server for authentication. |
Methods
GetProxy(Uri) |
Returns the URI of a proxy. |
IsBypassed(Uri) |
Indicates that the proxy should not be used for the specified host. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기