You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Lam a23854e3ff feat: new hook type: `response`
Used in authentication middleware. Instead of firing an action
hook, it now fires a response hook.

Response hooks are invoked serially, and if headers are sent from
one of the hook listeners, all subsequent hook methods are not
called.

Response hooks should only be used in situations where res.send
(or other like methods) are invoked. Existing plugin hooks that
pass in res purely for data retrieval purposes have not changed).

fixes nodebb/nodebb-plugin-write-api#101
6 years ago
..
admin.js remove parseInts 7 years ago
header.js fix: #7266 body does not contain skin class 6 years ago
headers.js feat: give names to more middlewares 6 years ago
index.js fix: removal of timeago fallback middleware (#7259) 6 years ago
maintenance.js feat: give names to middlewares 6 years ago
ratelimit.js ESlint lines-around-directive 8 years ago
render.js feat: give the rest of the middlewares names 6 years ago
user.js feat: new hook type: `response` 6 years ago