-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add ability to provide your own HTTP Client #85
Comments
Yeah, it makes sense, the http-client API surface area is massive. The RestClient builder provides a very simplified configuration of the most used methods of it. I decided to stick with a minimal approach, and expand it on request basis. Will add SSL context for the builder and option to provide your own HttpClient on 1.6.1 release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Unirest you had to provide your own HTTPClient via
Unirest.setHttpClient(httpClient)
. This functionality has been lost with the RestClient.The current ClientBuilder is missing customization options provided by the HttpClientBuilder such as setting your own SSL context.
The text was updated successfully, but these errors were encountered: