C# Class Amazon.Runtime.Internal.Util.WebProxy

Custom WebProxy implementation that creates a webproxy based on user inputs(Host name and port number)
Inheritance: IWebProxy
Mostra file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
GetProxy ( Uri destination ) : Uri

Getter to fetch the set proxy

IsBypassed ( Uri host ) : bool

Method to determine if the proxy should be bypassed when accessing an internet source

WebProxy ( Uri proxyUri ) : System

Set the ProxyUri

WebProxy ( string proxyUri ) : System
WebProxy ( string proxyHost, int proxyPort ) : System

Create a Uri based on the user inputs(Host name and port number)

Method Details

GetProxy() public method

Getter to fetch the set proxy
public GetProxy ( Uri destination ) : Uri
destination System.Uri
return System.Uri

IsBypassed() public method

Method to determine if the proxy should be bypassed when accessing an internet source
public IsBypassed ( Uri host ) : bool
host System.Uri
return bool

WebProxy() public method

Set the ProxyUri
public WebProxy ( Uri proxyUri ) : System
proxyUri System.Uri
return System

WebProxy() public method

public WebProxy ( string proxyUri ) : System
proxyUri string
return System

WebProxy() public method

Create a Uri based on the user inputs(Host name and port number)
public WebProxy ( string proxyHost, int proxyPort ) : System
proxyHost string
proxyPort int
return System