Summary
Encapsulates an HTTP request, including its method, URL and headers.
HttpServer generates this when it receives an
HTTP request and passes it to the relevant request handler.
Instance properties
| IPAddress | | Identifies the client that sent this request. |
| object | | Not used by HttpServer in any way, this field may be used by the application to store any relevant information. |
| Dictionary<string, FileUpload> | |
Contains information about file uploads included in a POST/PUT/PATCH request. Empty if the request does not have a body.
|
| HttpRequestHeaders | | Contains the HTTP request headers that were received and understood by HttpServer. |
| HttpProtocolVersion | | Specifies the HTTP protocol version that was used for this request. |
| HttpMethod | | Specifies the HTTP request method (GET, POST, HEAD, PUT, PATCH, DELETE) that was used for this request. |
| NameValuesCollection<string> | |
Provides access to values in the body of a POST/PUT/PATCH request (empty if the request does not have a body).
|
| IPEndPoint | | Identifies the immediate source of this request, which might be the client itself, or an HTTP proxy. |
| IHttpUrl | | Specifies the URL requested, including information about how this location is resolved by the handlers (if any). |
Instance fields
| Action | | Specifies an action to perform when the request finishes. |