-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I configure Proxy? #54
Comments
How would configure the proxy in the traditional |
I'm referring to the proxy credentials. //Example of traditional Client:
}; // Now create a client handler which uses that proxy // Omit this part if you don't need to authenticate with the web server:
} // Finally, create the HTTP client object |
Ah yea for the MessageHandler as i suspected Quite simple fluentHttpClientBuilder.WithMessageHandler(httpClientHandler) for a complete example you can see tests such as this https://github.com/sketch7/FluentlyHttpClient/blob/master/test/LoggingHttpMiddlewareTest.cs#L29 |
And that's the exception: "detail": "One or more errors occurred. (Response status code does not indicate success: 404 ().)", |
Oh, and this link returns 404: |
Opps sorry.. by mistake i linked from a branch - updated https://github.com/sketch7/FluentlyHttpClient/blob/master/test/LoggingHttpMiddlewareTest.cs#L29 Strange, it should work - theres not much adding to it from my end when setting the If you can either provide me a working example which I can check or at least send me how you're configuring fluently with the message handler maybe I can help |
Hi, I need to configure a proxy on the request. But I can't find any information of how do I do that.
Can you Help me?
How can I set my Proxy configuration in FluentlyHttpClient.
The text was updated successfully, but these errors were encountered: