Skip to content

Is it possible to terminate a request without proxying it within the proxy service? #818

Answered by Tratcher
gduffy8 asked this question in General
Discussion options

You must be logged in to vote

That makes sense but is not currently supported by default. Here are a few ways you can go about it:

  • Have your own config section that you read to generate terminal routes.
  • Use the YARP config and add a middleware in the yarp pipeline that checks for specific routes and terminates them (e.g. doesn't call next).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@samsp-msft
Comment options

@Tratcher
Comment options

@gduffy8
Comment options

Answer selected by karelz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants