How to listen for events with Hono? #1696
rafaell-lycan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently trying Hono in production at my company and we have a bunch of custom middleware that I'm currently adapting to Hono.
We have an example very similar to morgan which listens to a Node's HTTP event such as
close | error | finish | timeout
and others.I'm wondering if there's something similar I could use with Hono to convert that middleware.
To add more context, we use it collect metrics such as response time, request ID (UUID generated by another middleware) and other things.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions