HttpClient Constructor

Mentalis.org Proxy

Mentalis.org Proxy Documentation

HttpClient Constructor 

Initializes a new instance of the HttpClient class.

[Visual Basic]Public Sub New( _
   ByVal ClientSocket As System.Net.Sockets.Socket, _
   ByVal Destroyer As Org.Mentalis.Proxy.DestroyDelegate _
)
[C#]
public HttpClient(
   Socket ClientSocket,
   DestroyDelegate Destroyer
);

Parameters

ClientSocket
The System.Net.Sockets.Socket connection between this proxy server and the local client.
Destroyer
The callback method to be called when this Client object disconnects from the local client and the remote server.

See Also

HttpClient Class | HttpClient Members | Org.Mentalis.Proxy.Http Namespace