A function registered for a defined phase of request parsing, validation, handling, response mapping, or cleanup.