the HTTP client library to use
the HTTP client library to use
Returns a String containing the request details.
Returns a String containing the request details. The string will have the HTTP method, endpoint, params and if applicable the request body.
An ElasticClient is used to execute HTTP requests against an ElasticSearch cluster. This class delegates the actual HTTP calls to an instance of HttpClient.
Any third party HTTP client library can be made to work with elastic4s by creating an instance of the HttpClient typeclass wrapping the underlying client library and then creating the ElasticClient with it.
the HTTP client library to use