C# Class Library.Net.Proxy.HttpProxyClient

Inheritance: ProxyClientBase, IThisLock
Mostrar archivo Open project: Alliance-Network/Library Class Usage Examples

Public Methods

Method Description
Create ( Socket socket, System.TimeSpan timeout ) : void
HttpProxyClient ( string destinationHost, int destinationPort ) : System

Private Methods

Method Description
HandleProxyCommandError ( Socket socket, string host, int port, HttpResponseCodes code, string text ) : void
ParseResponse ( string response, string &text ) : HttpResponseCodes
SendConnectionCommand ( Socket socket, string host, int port ) : void

Method Details

Create() public method

public Create ( Socket socket, System.TimeSpan timeout ) : void
socket System.Net.Sockets.Socket
timeout System.TimeSpan
return void

HttpProxyClient() public method

public HttpProxyClient ( string destinationHost, int destinationPort ) : System
destinationHost string
destinationPort int
return System