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
{{ message }}
Repository navigation
Add request data sent and response data received diagnostic channels #4166
This will allow Node.js network inspector to monitor request data and response data on Chrome DevTools frontend.
The implementation should look like...
undici:request:sentDataChunk with parameters request, chunk,
undici:request:receivedDataChunk with parameters request, response, chunk.
Essentially, the diag channels shall expose request objects to allow subscribers to identify which request sent/received the data chunk.
I have also considered...
Monkey patching Request.onBodySent and Request.onData to intercept data chunks. The Request object is exposed with undici:request:created diag channel so it is possible to intercept data chunks with monkey patching.
Activity
metcoder95 commentedon Apr 20, 2025
+1
inspector: add protocol method Network.dataReceived
inspector: add protocol method Network.dataReceived
inspector: add protocol method Network.dataReceived
Main