C# Class NuxeoClient.WebProxy

A simple class representing the WebProxy class, which is not yet implemented on the dotnet/corefx project.
Inheritance: System.Net.IWebProxy
Show file Open project: nuxeo/nuxeo-dotnet-client

Public Methods

Method Description
GetProxy ( Uri destination ) : Uri

Returns the proxied URI for a request.

IsBypassed ( Uri host ) : bool

Indicates whether to use the proxy server for the specified host.

WebProxy ( Uri proxyUri ) : System

Initializes an empty instance of the WebProxy class.

Method Details

GetProxy() public method

Returns the proxied URI for a request.
public GetProxy ( Uri destination ) : Uri
destination System.Uri The instance of the requested Internet resource.
return System.Uri

IsBypassed() public method

Indicates whether to use the proxy server for the specified host.
public IsBypassed ( Uri host ) : bool
host System.Uri The instance of the host to check for proxy use.
return bool

WebProxy() public method

Initializes an empty instance of the WebProxy class.
public WebProxy ( Uri proxyUri ) : System
proxyUri System.Uri
return System