NuxeoDotNetClient  1.0.0 beta
.NET Client for Nuxeo Automation and REST API
Public Member Functions | Properties | List of all members
NuxeoClient.WebProxy Class Reference

A simple class representing the WebProxy class, which is not yet implemented on the dotnet/corefx project. More...

Public Member Functions

 WebProxy (Uri proxyUri)
 Initializes an empty instance of the WebProxy class. More...
 
Uri GetProxy (Uri destination)
 Returns the proxied URI for a request. More...
 
bool IsBypassed (Uri host)
 Indicates whether to use the proxy server for the specified host. More...
 

Properties

ICredentials Credentials [get, set]
 Gets or sets the credentials to submit to the proxy server for authentication. More...
 

Detailed Description

A simple class representing the WebProxy class, which is not yet implemented on the dotnet/corefx project.

Definition at line 27 of file WebProxy.cs.

Inheritance diagram for NuxeoClient.WebProxy:

Constructor & Destructor Documentation

NuxeoClient.WebProxy.WebProxy ( Uri  proxyUri)

Initializes an empty instance of the WebProxy class.

Parameters
proxyUri

Definition at line 35 of file WebProxy.cs.

Member Function Documentation

Uri NuxeoClient.WebProxy.GetProxy ( Uri  destination)

Returns the proxied URI for a request.

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

Definition at line 52 of file WebProxy.cs.

bool NuxeoClient.WebProxy.IsBypassed ( Uri  host)

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

Parameters
hostThe Uri instance of the host to check for proxy use.
Returns
true if the proxy server should not be used for host; otherwise, false.

Definition at line 62 of file WebProxy.cs.

Property Documentation

ICredentials NuxeoClient.WebProxy.Credentials
getset

Gets or sets the credentials to submit to the proxy server for authentication.

Definition at line 43 of file WebProxy.cs.