OnResponseStarting is no longer a static method, so we can use the _policy and CustomHeaderService properties directly instead of passing a tuple to the method with those properties. For context, we forward the object of the method that called it.
Thanks for this @castilhera, but given that this has all changed significantly in #190, and given this actually allocates more than using the static method, I'm going to close this. Thanks anyway!
OnResponseStarting is no longer a static method, so we can use the _policy and CustomHeaderService properties directly instead of passing a tuple to the method with those properties. For context, we forward the object of the method that called it.
This way, we eliminate the need for boxing and unboxing parameters.