You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there! I didn't find any events/hooks which i could use for tracking time and other things of request. I know that i can create middleware to do this, but is there a way to track time of the request?
The text was updated successfully, but these errors were encountered:
You can indeed use a middleware for that but that won't measure the real time between when the server received the request and when the response finished writing. Your middleware would be executed in the middle of the request's life-cycle, after routing, request parsing, etc, and before finalization.
For this kind of measurement, you should probably use a benchmarker program and measure from the outside of your application.
Support
Version: v2.7.0
Hello there! I didn't find any events/hooks which i could use for tracking time and other things of request. I know that i can create middleware to do this, but is there a way to track time of the request?
The text was updated successfully, but these errors were encountered: