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
I have very simple console app where I want to receive following events:
"System.Net.Http.HttpRequestOut.Start"
"System.Net.Http.HttpRequestOut.Stop"
"System.Net.Http.Request"
"System.Net.Http.Response"
When I use DiagnosticListener.SubscribeWithAdapter I do receive Request/Response but do not receive HttpRequestOut.Start/HttpRequestOut.Stop. When I do not use adapter and just subscribe I receive all events described above (but sure using them throught adapter is was simpler).
I gave up trying to understan what's wrong and made very small repo containing full sample.
Damn, who could think I need to add fake event handler (( After I added "System.Net.Http.HttpRequestOut" method things have started working. So closing
Hi Guys,
I have very simple console app where I want to receive following events:
"System.Net.Http.HttpRequestOut.Start"
"System.Net.Http.HttpRequestOut.Stop"
"System.Net.Http.Request"
"System.Net.Http.Response"
When I use DiagnosticListener.SubscribeWithAdapter I do receive Request/Response but do not receive HttpRequestOut.Start/HttpRequestOut.Stop. When I do not use adapter and just subscribe I receive all events described above (but sure using them throught adapter is was simpler).
I gave up trying to understan what's wrong and made very small repo containing full sample.
repo could be found here https://github.com/yahorsi/HttpHandlerDiagnosticListener
Thanks for any help
The text was updated successfully, but these errors were encountered: