Closed juliotpaez closed 3 years ago
I'll discard this for now. It is easy enough to create a custom wrapper around proxy_to_and_forward_response
for anyone that requires the use of a context and composes the filter. But I'll take into account the grouping of the proxy data for further development.
Thank you a lot @juliotpaez !
Hi Daniel,
I leave here the changes I mentioned in the issue #35. Also I give you another approach to resolve these problems:
Where
proxy_request
is the following method:As you can see, another thing that I noticed is that the order of the arguments are really unnecessary, therefore I recommend to change the
proxy_to_and_forward_response
signatura to receive only a single object with all that info or even better using trait to be able to mix the context object together withProxyData
.