stevejgordon / CorrelationId

An ASP.NET Core middleware component which synchronises a correlation ID for cross API request logging.
MIT License
558 stars 106 forks source link

Support for specifying separate headers for request and response #25

Closed srungta closed 4 years ago

srungta commented 6 years ago

Feature suggestion:

  1. Explicitly specify the request header name and the response header name, in case users want to have different headers for the two.

P.S : I can raise a PR for this, in case you are short on time.

stevejgordon commented 6 years ago

Thanks for the suggestion @srungta. I hadn't considered this requirement personally but it shouldn't be too hard to add this. I'm currently drafting out an architecture design that incorporates the feedback and feature requests I've had so far. 'll add this to my list for consideration in that design.

srungta commented 6 years ago

This came up when we were designing correlationid for our system and found your nuget. If this feature can be added, we would be more comfortable using the nuget too :)