# GetHeaders(string)

Method in [Dialogue](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.dialogue)

## Summary

Gets the collection of headers present on the node named `nodeName` .

```csharp
public IEnumerable<KeyValuePair<string, string>> GetHeaders(string nodeName)
```

## Parameters

| Name              | Description                              |
| ----------------- | ---------------------------------------- |
| `string` nodeName | The name of the node to get headers for. |

## Returns

A collection of key-values pairs, each one representing a header on the node.
