Customizable HttpClient and HttpAsyncClient implementation in UniRest

Custom HTTP clients

You can explicitly set your own HttpClient and HttpAsyncClient implementations by using the following methods:

Unirest.setHttpClient(httpClient);Unirest.setAsyncHttpClient(asyncHttpClient);