FHIR Chat · SDK http log · dotnet

Stream: dotnet

Topic: SDK http log


view this post on Zulip Wilmer Vinicio Ajuchan Joj (Sep 10 2018 at 16:25):

HI Guys,
I'm working with the SDK to use a FHIR server where I'm sending prescriptions, but one of the product requirements is about log all the activity that I'm doing with the FHIR server, so I was thinking on add a interceptor to catch all the calls, but I'm not sure how to do that, I mean I have the idea on my mind, but I can't figure out how to integrate it on the SDK or what could be the approach to handle this requirement.

Could anyone give me some guidance on this stuff?

view this post on Zulip Yunwei Wang (Sep 10 2018 at 21:25):

Can you add logging before sending HTTP request?

view this post on Zulip Wilmer Vinicio Ajuchan Joj (Sep 11 2018 at 22:41):

yeah Yunwei that's the idea

view this post on Zulip Wilmer Vinicio Ajuchan Joj (Sep 11 2018 at 22:42):

Can you add logging before sending HTTP request?

Well, that's what I'm trying to do.
But it could be a problem as I'm using the DLL on my project, so the HTTP request is being performed in internal code fo the DLL

Now what I'm trying to do is create a common method that I can call when I call the SDK and check the lastBody property of the client to know the response, hope that could be enough


Last updated: Apr 12 2022 at 19:14 UTC