(Since version 6.0.0) Use the HTTP client, the TCP client will be removed in 7.0; see https://www.elastic.co/blog/elasticsearch-5-6-0-released
(Since version 6.0.0) Use the HTTP client, the TCP client will be removed in 7.0; see https://www.elastic.co/blog/elasticsearch-5-6-0-released
(Since version 6.0.0) Use the HTTP client, the TCP client will be removed in 7.0; see https://www.elastic.co/blog/elasticsearch-5-6-0-released
Returns a json String containing the request body.
Returns a json String containing the request body. Note: This only works for requests which have a cats.Show typeclass implemented, which is most, but not all. Also, some requests intentionally do not provide a Show implementation as they are "header only" requests - that is, they have no body - for example, delete by id, or delete index.
(Since version 6.0.0) Use the HTTP client, the TCP client will be removed in 7.0; see https://www.elastic.co/blog/elasticsearch-5-6-0-released
(Since version 5.2.0) ElasticClient is now TcpClient