RestSharp
CorrelatorSharp.RestSharp is an add-on for RestSharp that enables support for CorrelatorSharp.
Get it
Where | What |
---|---|
NuGet | CorrelatorSharp.RestSharp |
Latest Build (master) |
Using it
When making requests with RestSharp you can inject the current activity scope’s correlation id using the AddCorrelationHeader()
extension method on RestRequest
:
RestRequest request;
request.AddCorrelationHeader();