-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The request-received middleware at https://github.com/cabinjs/request-received exposes a Symbol.for property, which this package could conditionally consume if interested (as opposed to just generating a new Date().
e.g.
sails-hook-responsetime/lib/beforeAll.js
Line 15 in d7f2103
| req._timeStart = process.hrtime(); |
process.hrtime() to req[Symbol.for('request-received.startAt')] ? req[Symbol.for('request-received.startAt')] : process.hrtime()Metadata
Metadata
Assignees
Labels
No labels