---
title: "RequestHead class"
canonical: https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RequestHead
---

# 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.

```csharp
public class RequestHead
```

## Public Members

| name                                                                                                  | description                                                                                                                                                 |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Aborted](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RequestHead/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](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RequestHead/Headers) { get; } | The request headers as name and value pairs.                                                                                                                |
| [Method](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RequestHead/Method) { get; }   | The HTTP method, such as `GET` or `POST`. Standard methods are in upper case.                                                                               |
| [Path](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RequestHead/Path) { get; }       | The path the client asked for, without the query string. It begins with a slash.                                                                            |
| [Query](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RequestHead/Query) { get; }     | The query string as name and value pairs, in the order they appear in the URL.                                                                              |
| [Url](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RequestHead/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`](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/HttpHandlerAttribute) method can take: [`Request`](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/Request), whose body is in memory, and [`StreamingRequest`](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/StreamingRequest), whose body is read as a stream. An application receives one of those rather than a `RequestHead` itself.

## See Also

- namespace [Isoplane](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk)
