Callback function for requesting a header or footer.

Syntax

function(<HeaderFooter> headerFooter)