Méthode | Description | |
---|---|---|
CancelAsync ( ) : void |
Cancels any asychronous operation that is currently active.
|
|
CreateConnection ( string destinationHost, int destinationPort ) : |
Creates a remote TCP connection through a proxy server to the destination host on the destination port. This method creates a connection to the proxy server and instructs the proxy server to make a pass through connection to the specified destination host on the specified port. |
|
CreateConnectionAsync ( string destinationHost, int destinationPort ) : void |
Asynchronously creates a remote TCP connection through a proxy server to the destination host on the destination port. This method creates a connection to the proxy server and instructs the proxy server to make a pass through connection to the specified destination host on the specified port. |
|
HttpProxyClient ( ) : System |
Constructor.
|
|
HttpProxyClient ( |
Creates a HTTP proxy client object using the supplied TcpClient object connection.
|
|
HttpProxyClient ( string proxyHost ) : System |
Constructor. The default HTTP proxy port 8080 is used.
|
|
HttpProxyClient ( string proxyHost, int proxyPort ) : System |
Constructor.
|
Méthode | Description | |
---|---|---|
CreateAsyncWorker ( ) : void | ||
CreateConnectionAsync_DoWork ( object sender, |
||
CreateConnectionAsync_RunWorkerCompleted ( object sender, |
||
HandleProxyCommandError ( string host, int port ) : void | ||
ParseCodeAndText ( string line ) : void | ||
ParseResponse ( string response ) : void | ||
SendConnectionCommand ( string host, int port ) : void | ||
WaitForData ( |
public CreateConnection ( string destinationHost, int destinationPort ) : |
||
destinationHost | string | Destination host name or IP address. |
destinationPort | int | Port number to connect to on the destination host. |
Résultat |
public CreateConnectionAsync ( string destinationHost, int destinationPort ) : void | ||
destinationHost | string | Destination host name or IP address. |
destinationPort | int | Port number to connect to on the destination host. |
Résultat | void |
public HttpProxyClient ( |
||
tcpClient | A TcpClient connection object. | |
Résultat | System |
public HttpProxyClient ( string proxyHost ) : System | ||
proxyHost | string | Host name or IP address of the proxy. |
Résultat | System |
public HttpProxyClient ( string proxyHost, int proxyPort ) : System | ||
proxyHost | string | Host name or IP address of the proxy server. |
proxyPort | int | Port number for the proxy server. |
Résultat | System |