The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

hapi.js - Extending the request with lifecycle events

hapi.js - Extending the request with lifecycle events

1:54
Instead of using middlware, hapi provides a number of points during the lifecycle of a request that you can hook-in to provide additional functionality, called "extension events". This lesson will give you an introduction to using extension events, and show how they can be used to manipulate the request or response in-flight.
Watch this lesson now
Avatar
egghead.io

Instead of using middlware, hapi provides a number of points during the lifecycle of a request that you can hook-in to provide additional functionality, called "extension events". This lesson will give you an introduction to using extension events, and show how they can be used to manipulate the request or response in-flight.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?