-
Hello, I'm thinking something like this, I will meet at separate endpoints for both the function and the counter of a request. Regards ! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
I thought it should be at the load balancer level
|
Beta Was this translation helpful? Give feedback.
-
@bwn-z load balancer only provides routing to one endpoint. I want to forward one incoming request to two different endpoints |
Beta Was this translation helpful? Give feedback.
-
@fdevGit Just want to hit two enpoints means? you can use HttpClient from polly libraray and in same controller you can call two endpoints. @ggnaegi @raman-m I don't think any action needed here, we can close if answer is right. |
Beta Was this translation helpful? Give feedback.
-
@fdevGit You could implement your own delegating handler https://ocelot.readthedocs.io/en/latest/features/delegatinghandlers.html and call the counter endpoint from there with HttpClient. |
Beta Was this translation helpful? Give feedback.
@fdevGit You could implement your own delegating handler https://ocelot.readthedocs.io/en/latest/features/delegatinghandlers.html and call the counter endpoint from there with HttpClient.