Repository navigation
|
Hello, I'm thinking something like this, I will meet at separate endpoints for both the function and the counter of a request. Regards ! |
Replies: 5 comments 6 replies
|
I thought it should be at the load balancer level |
|
@bwn-z load balancer only provides routing to one endpoint. I want to forward one incoming request to two different endpoints |
|
@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. |
|
@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. |
@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.