Callback function for requests expectiong a TableOfContents object.

Syntax

function(<TableOfContents> toc)