IWMSProxyContext Interface
The IWMSProxyContext interface is implemented by a cache proxy plug-in and called by the server. It provides methods that enable a plug-in to discover upstream proxy settings and credentials that can be used, for example, when chaining together cache proxy servers.
By default, a network data source plug-in uses the existing server level proxy settings and credentials. However, for chaining multiple upstream proxies, the IWMSProxyContext interface enables your plug-in to discover settings and credentials for each upstream proxy server it connects to. These settings and credentials can be configured on a per-protocol and per-URL basis.
Note
This interface is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.
In addition to the methods inherited from IUnknown, the IWMSProxyContext interface exposes the following methods.
Method |
Description |
---|---|
FindProxyForURL |
Retrieves the name and port number of an upstream proxy server. |
GetCredentials |
Retrieves a user name and password that can be used to respond to the security challenge of an upstream proxy server. |