HttpRequestEventArgs Class |
Namespace: Sfs2X.WebSocketSharp.Server
public class HttpRequestEventArgs : EventArgs
The HttpRequestEventArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | Request |
Gets the request data sent from a client.
|
![]() | Response |
Gets the response data to return to the client.
|
![]() | User |
Gets the information for the client.
|
Name | Description | |
---|---|---|
![]() | ReadFile |
Reads the specified file from the document folder of
the HttpServer.
|
![]() | TryReadFile |
Tries to read the specified file from the document folder of
the HttpServer.
|
An HTTP request event occurs when the HttpServer receives an HTTP request.
You should access the Request property if you would like to get the request data sent from a client.
And you should access the Response property if you would like to get the response data to return to the client.