Skip to content
Discussion options

You must be logged in to vote

YARP is not a forward proxy that can be used in the WebProxy field. This may help explain the difference: https://www.linuxbabe.com/it-knowledge/differences-between-forward-proxy-and-reverse-proxy

You'd send the request to YARP like this:

HttpClient cl = new HttpClient();
var r = await cl.GetAsync("https://localhost:5001");

And YARP would use its configuration decide if that request should be sent to example.com or somewhere else.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tushinivan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants