> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.getheaders.md).

# GetHeaders(string)

Method in [YarnProject](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject.md)

## Summary

Gets the headers for the requested node.

```csharp
public Dictionary<string, List<string>> GetHeaders(string nodeName)
```

## Remarks

The first time this is called, the values are extracted from [Program](/2.5/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.program.md) and cached inside `Yarn.Unity.YarnProject.nodeHeaders` . Future calls will then return the cached values.

## Parameters

| Name              | Description |
| ----------------- | ----------- |
| `string` nodeName |             |
