RequestHead class
The parts of an HTTP request other than its body: the method, the URL, the headers, and a token that says when to stop.
public class RequestHead
Public Members
| name | description |
|---|---|
| Aborted { get; } | Cancelled when the request's dispatch should stop: the client has gone away before it had the whole response, or the dispatch has used up its running time. |
| Headers { get; } | The request headers as name and value pairs. |
| Method { get; } | The HTTP method, such as GET or POST. Standard methods are in upper case. |
| Path { get; } | The path the client asked for, without the query string. It begins with a slash. |
| Query { get; } | The query string as name and value pairs, in the order they appear in the URL. |
| Url { get; } | The address the client asked for, as it was sent, including any query string. |
Remarks
It is the base of the two types an HttpHandlerAttribute method can take: Request, whose body is in memory, and StreamingRequest, whose body is read as a stream. An application receives one of those rather than a RequestHead itself.
See Also
- namespace Isoplane