# GetHeaders(string)

Method in [YarnProject](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject)

## 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](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject/yarn.unity.yarnproject.program) and cached inside `Yarn.Unity.YarnProject.nodeHeaders` . Future calls will then return the cached values.

## Parameters

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