HttpClient Methods

Mentalis.org Proxy

Mentalis.org Proxy Documentation

HttpClient Methods

The methods of the HttpClient class are listed below. For a complete list of HttpClient class members, see the HttpClient Members topic.

Public Instance Methods

Dispose (inherited from Client)Disposes of the resources (other than memory) used by the Client.
Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
StartHandshakeStarts receiving data from the client connection.
StartRelay (inherited from Client)Starts relaying data between the remote host and the local client.
ToStringOverloaded. Returns text information about this HttpClient object.

Protected Instance Methods

Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.
OnClientReceive (inherited from Client)Called when we have received data from the local client.
Incoming data will immediately be forwarded to the remote host.
OnClientSent (inherited from Client)Called when we have sent data to the local client.
When all the data has been sent, we will start receiving again from the remote host.
OnRemoteReceive (inherited from Client)Called when we have received data from the remote host.
Incoming data will immediately be forwarded to the local client.
OnRemoteSent (inherited from Client)Called when we have sent data to the remote host.
When all the data has been sent, we will start receiving again from the local client.

Private Instance Methods

IsValidQueryChecks whether a specified string is a valid HTTP query string.
OnConnectedCalled when we're connected to the requested remote host.
OnErrorSentCalled when the Bad Request error has been sent to the client.
OnOkSentCalled when an OK reply has been sent to the local client.
OnQuerySentCalled when the HTTP query has been sent to the remote host.
OnReceiveQueryCalled when we received some data from the client connection.
ParseQueryParses a specified HTTP query into its header fields.
ProcessQueryProcesses a specified query and connects to the requested HTTP web server.
RebuildQueryRebuilds the HTTP query, starting from the HttpRequestType, RequestedPath, HttpVersion and HeaderFields properties.
SendBadRequestSends a "400 - Bad Request" error to the client.

See Also

HttpClient Class | Org.Mentalis.Proxy.Http Namespace