on

Specifies a handler for a specific hook. A hook can be a specific place in time or event during the request processing like receiving a response, an exception during call processing, etc.

See also