Hooks provide a way to be notified of certain events during the operation of the Razor server; the behavior of a hook is defined by a hook type.
Similar to brokers and tasks, hook types are defined through a .hook
directory and files within that directory: