|
ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
|
Represents an interface for an HTTP session, inheriting from the ISession interface. More...
Public Member Functions | |
| int | SendResponse (HttpResponse response) |
| Sends an HTTP response synchronously. | |
| bool | SendResponseAsync (HttpResponse response) |
| Sends an HTTP response asynchronously. | |
Public Member Functions inherited from XmobiTea.ProtonNetServer.ISession | |
| bool | Disconnect () |
| Disconnects the session. | |
| int | Send (byte[] buffer) |
| Sends data synchronously to the connected client. | |
| int | Send (byte[] buffer, int position, int length) |
| Sends data synchronously to the connected client with a specified position and length. | |
| bool | SendAsync (byte[] buffer) |
| Sends data asynchronously to the connected client. | |
| bool | SendAsync (byte[] buffer, int position, int length) |
| Sends data asynchronously to the connected client with a specified position and length. | |
| INetworkStatistics | GetNetworkStatistics () |
| Gets the network statistics for the session. | |
Represents an interface for an HTTP session, inheriting from the ISession interface.
| int XmobiTea.ProtonNetServer.IHttpSession.SendResponse | ( | HttpResponse | response | ) |
Sends an HTTP response synchronously.
| response | The HTTP response to send. |
Implemented in XmobiTea.ProtonNetServer.HttpSession, and XmobiTea.ProtonNetServer.HttpsSession.
| bool XmobiTea.ProtonNetServer.IHttpSession.SendResponseAsync | ( | HttpResponse | response | ) |
Sends an HTTP response asynchronously.
| response | The HTTP response to send. |
Implemented in XmobiTea.ProtonNetServer.HttpSession, and XmobiTea.ProtonNetServer.HttpsSession.