Skip to content

How to achieve code-first routing based on http body? #1957

Answered by ArchitectCat
unruledboy asked this question in Q&A
Discussion options

You must be logged in to vote

Did you tried implementing a custom ILoadBalancer for this? You technically have access to a full DownstreamContext in there which you can use to route your requests appropriately.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@raman-m
Comment options

Answer selected by raman-m
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Load Balancer Ocelot feature: Load Balancer Delegating Handlers Ocelot feature: Delegating Handlers Routing Ocelot feature: Routing
3 participants
Converted from issue

This discussion was converted from issue #1448 on February 08, 2024 18:52.