> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# DotHttpFile

> Represents a complete parsed .http file containing variables and requests.

## Definition

**Assembly:** CloudNimble.Breakdance.DotHttp.dll

**Namespace:** CloudNimble.Breakdance.DotHttp.Models

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
CloudNimble.Breakdance.DotHttp.Models.DotHttpFile
```

## Summary

Represents a complete parsed .http file containing variables and requests.

## Remarks

A .http file can contain multiple requests separated by ### and file-level variables.
Variables are case-sensitive per the Microsoft specification.

## Examples

```csharp theme={"dark"}
@baseUrl = https://api.example.com

### Get all users
GET {{baseUrl}}/users

### Create user
POST {{baseUrl}}/users
Content-Type: application/json

{"name": "John"}
```

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public DotHttpFile()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;Diagnostics

Gets or sets the parsing diagnostics encountered while parsing this file.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<Microsoft.CodeAnalysis.Diagnostic> Diagnostics { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<Microsoft.CodeAnalysis.Diagnostic>`

#### Remarks

Contains Roslyn diagnostic information for malformed content that could not be parsed.

### &#x20;FilePath

Gets or sets the file path relative to the project.

#### Syntax

```csharp theme={"dark"}
public string FilePath { get; set; }
```

#### Property Value

Type: `string`

### &#x20;HasChainedRequests

Gets a value indicating whether any requests in this file have dependencies on other requests.

#### Syntax

```csharp theme={"dark"}
public bool HasChainedRequests { get; }
```

#### Property Value

Type: `bool`

#### Remarks

Returns true when any request uses response variable references like `{{login.response.body.$.token}}`.

### &#x20;Requests

Gets or sets all HTTP requests defined in the file.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<CloudNimble.Breakdance.DotHttp.Models.DotHttpRequest> Requests { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<CloudNimble.Breakdance.DotHttp.Models.DotHttpRequest>`

#### Remarks

Requests are separated by ### in the source file.

### &#x20;Variables

Gets or sets the file-level variables defined with @name=value syntax.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.Dictionary<string, string> Variables { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.Dictionary<string, string>`

#### Examples

```csharp theme={"dark"}
@baseUrl = https://api.example.com
@apiVersion = v2
```

#### Remarks

Variable names are case-sensitive per the Microsoft specification.

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.