Http |
The HttpClient type exposes the following members.
| Name | Description | |
|---|---|---|
| Abort | Closes the currently open connection (if present). | |
| BeginGetRequestStream | Begins an asynchronous request for a Stream object to use to write data. | |
| BeginGetResponseStream | Begins an asynchronous response for a Stream object to use to read data. | |
| Connect |
Connect the client to a remote network host.
(Inherited from Client) | |
| Connect(String, Int32) |
Connect to the host address at the specified port.
(Inherited from Client) | |
| ConnectNew |
Overloaded. Opens and returns new connection with specified host and port.
(Inherited from Client) | |
| Dispatch | One of the core methods of the HttpClient class. This method uses the HttpClientRequest class to send messages to the server and the HttpClientResponse to receive server answers. Uses the TryDispatch method to send data and raises an HttpException exception if any errors occurs. | |
| DispatchAsync | Asynchronously dispatch a request and return a response to the specified callback function | |
| DispatchAsyncEx | Asynchronously dispatch a request and return a response to the specified callback function | |
| DispatchBytesAsync | Asynchronously launches the request that returns a byte array | |
| DispatchBytesAsyncEx | Asynchronously launches the request that returns a byte array | |
| DispatchStringAsync | Asynchronously launches the request that returns a string | |
| DispatchStringAsyncEx | Asynchronously launches the request that returns a string | |
| Dispose |
Disposes the Client Connection.
(Inherited from Client) | |
| Dispose(Boolean) |
Disposes of the current instance and releases all resources used by it.
(Overrides ClientDispose(Boolean)) | |
| EndGetRequestStream | Supply the stream interface | |
| EndGetResponseStream | Ends an asynchronous request to an Internet resource | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| FgetFile | Gets the file from the server and writes the data to lpath | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FpostFile | Posts the file data to the server from the local machine | |
| FputFile | Puts the file data to the server from the local machine | |
| Get(String) | Retrieves an HTTP document (as a string) from the provided URL using the GET HTTP command. | |
| Get(String, Encoding) | Retrieves an HTTP document (as a string) in the specified encoding from the provided URL using the GET HTTP command. | |
| GetAsync(String, HTTPClientStringCallback) | Asynchronously retrieves an HTTP document from the provided URL using the GET HTTP command. | |
| GetAsync(String, Encoding, HTTPClientStringCallback) | Asynchronously retrieves an HTTP document using a callback in the specified encoding from the provided URL using the GET HTTP command. | |
| GetAsyncEx(String, HTTPClientStringCallbackEx, Object) | Asynchronously retrieves an HTTP document from the provided URL using the GET HTTP command. | |
| GetAsyncEx(String, Encoding, HTTPClientStringCallbackEx, Object) | Asynchronously retrieves an HTTP document using a callback in the specified encoding from the provided URL using the GET HTTP command. | |
| GetBytes | Retrieves binary data from the provided URL. | |
| GetBytesAsync | Asynchronously retrieves binary data from the provided URL using a callback. | |
| GetBytesAsyncEx | Asynchronously retrieves binary data from the provided URL using a callback. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetHttpConnection | This method is used internally to acquire (either create or retrieve from the pool) an HTTP connection with the provided parameters. | |
| GetResponse | This method is used internally by all other Get* methods of this class. It creates and sends a GET HTTP request to the server and returns a response. | |
| GetResponseAsync | Asynchronously creates and sends a GET HTTP request to the server using the callback. A Response is returned. | |
| GetResponseAsyncEx | Asynchronously creates and sends a GET HTTP request to the server using the callback. A Response is returned. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NewConnection |
Creates a New Client Connection with the specified binding.
(Inherited from Client) | |
| Post(String, Stream) | Retrieves an HTTP document (as a string) from the provided Url using the POST HTTP command. | |
| Post(String, Byte) | Retrieves an HTTP document (as a string) from the provided URL using the POST HTTP command. | |
| PostAsync(String, Stream, HTTPClientResponseCallback) | Asynchronously retrieves an HTTP document (as a string) from the provided Url using the POST HTTP command. | |
| PostAsync(String, Byte, HTTPClientStringCallback) | Asynchronously retrieves an HTTP document (as a string) from the provided Url using the POST HTTP command. | |
| PostAsync(String, Byte, HTTPClientStringCallbackEx, Object) | Asynchronously retrieves an HTTP document (as a string) from the provided Url using the POST HTTP command. | |
| PostAsyncEx | Asynchronously retrieves an HTTP document (as a string) from the provided Url using the POST HTTP command. | |
| ReleaseConnection |
Releases the Connection for the specified connection in the Connection Pool.
(Inherited from Client) | |
| RequestDone | Request is done being processed. | |
| ResolveHostName |
Resolves the host name.
(Inherited from Client) | |
| ResolveHostNameIfNeeded |
Determines whether it is necessary to resolve the host name based on the Host Address and DNS resolve type, and then resolves the host name accordingly.
(Inherited from Client) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TriggerOnResolvedHostName |
Trigger the OnResolvedHostName.
(Inherited from Client) | |
| TriggerOnResolveHostName |
Triggers the Resolve
(Inherited from Client) |