originRequestProvider
should be able to access ProxyContext
to perform routing based on modified request
#44
Labels
enhancement
New feature or request
Version
Since
originRequestProvider
runs after pre-request interceptors, there is no way to pass theProxyContext
to perform routing on the based on the modified request.originRequestProvider
only has context of the original request inHttpServerRequest
Context
It would be useful if
originRequestProvider
could perform routing based on what is present inProxyContext
andProxyRequest
. This may also solve #35 - variables can be set in theProxyContext
to perform routing.The drawback here would be that
originRequestProvider
must come in between pre-request and post-request interceptors.The text was updated successfully, but these errors were encountered: