|
ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
|
Defines the interface for an HTTP client that can send requests and handle responses over a network. Inherits from IClient. More...
Public Member Functions | |
| int | SendRequest (HttpRequest request) |
| Sends an HTTP request synchronously. | |
| bool | SendRequestAsync (HttpRequest request) |
| Sends an HTTP request asynchronously. | |
Public Member Functions inherited from XmobiTea.ProtonNetClient.IClient | |
| bool | Connect () |
| Connects the client to the server. | |
| bool | Reconnect () |
| Reconnects the client to the server. | |
| bool | Disconnect () |
| Disconnects the client from the server. | |
| bool | ConnectAsync () |
| Asynchronously connects the client to the server. | |
| bool | ReconnectAsync () |
| Asynchronously reconnects the client to the server. | |
| bool | DisconnectAsync () |
| Asynchronously disconnects the client from the server. | |
| INetworkStatistics | GetNetworkStatistics () |
| Retrieves the network statistics associated with the client. | |
| int | Send (byte[] buffer) |
| Sends data to the server. | |
| int | Send (byte[] buffer, int position, int length) |
| Sends data to the server starting from a specific position in the buffer. | |
| bool | SendAsync (byte[] buffer) |
| Asynchronously sends data to the server. | |
| bool | SendAsync (byte[] buffer, int position, int length) |
| Asynchronously sends data to the server starting from a specific position in the buffer. | |
Defines the interface for an HTTP client that can send requests and handle responses over a network. Inherits from IClient.
| int XmobiTea.ProtonNetClient.IHttpClient.SendRequest | ( | HttpRequest | request | ) |
Sends an HTTP request synchronously.
| request | The HTTP request to be sent. |
Implemented in XmobiTea.ProtonNetClient.HttpClient, and XmobiTea.ProtonNetClient.HttpsClient.
| bool XmobiTea.ProtonNetClient.IHttpClient.SendRequestAsync | ( | HttpRequest | request | ) |
Sends an HTTP request asynchronously.
| request | The HTTP request to be sent. |
Implemented in XmobiTea.ProtonNetClient.HttpClient, and XmobiTea.ProtonNetClient.HttpsClient.