# HeaderDirectives

Header directives can be used to extract header values from the request. To change
response headers use one of the @ref[RespondWithDirectives](../respond-with-directives/index.md).

@@toc { depth=1 }

@@@ index

* [headerValue](headerValue.md)
* [headerValueByName](headerValueByName.md)
* [headerValueByType](headerValueByType.md)
* [headerValuePF](headerValuePF.md)
* [optionalHeaderValue](optionalHeaderValue.md)
* [optionalHeaderValueByName](optionalHeaderValueByName.md)
* [optionalHeaderValueByType](optionalHeaderValueByType.md)
* [optionalHeaderValuePF](optionalHeaderValuePF.md)
* [checkSameOrigin](checkSameOrigin.md)

@@@