TCnWebProxy.GetProxy(_Uri) Method

Returns the proxied URI for a request.

Namespace: CNClrLib.Component.WebProxy
 function GetProxy(Destination: _Uri): _Uri; overload;


Type: System.Void

The Uri instance of the requested Internet resource.

Return Value

Type: _Uri

The Uri instance of the Internet resource, if the resource is on the bypass list; otherwise, the Uri instance of the proxy.

The GetProxy method returns the URI that the WebRequest instance uses to access the Internet resource.