szmarczak / http-timer

🕐 Performance timings for HTTP requests
MIT License
192 stars 18 forks source link

http-timer with undici #30

Open skogs-pa opened 2 years ago

skogs-pa commented 2 years ago

Question/guidance: I like to use this library with undici which unfortunately has no ClientRequest object that http-timer expects. Do you see any other way hooking into undici? Thanks

szmarczak commented 2 years ago

I believe undici will have its own timings logic. However, still, it should be possible to implement the timings via a custom Dispatcher.

vegerot commented 1 month ago

Any hints on how to do this? 🙂