# What is the wire protocol of Elasticsearch client

**URL:** <https://discuss.elastic.co/t/what-is-the-wire-protocol-of-elasticsearch-client/20769>\
**Category:** Elasticsearch\
**Created:** [November 16, 2014, 10:14pm UTC](https://discuss.elastic.co/t/what-is-the-wire-protocol-of-elasticsearch-client/20769 "2014-11-16T22:14:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smidth](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@smidth](https://discuss.elastic.co/u/smidth)\
**Post date:** [November 16, 2014, 10:14pm UTC](https://discuss.elastic.co/t/what-is-the-wire-protocol-of-elasticsearch-client/20769/1 "2014-11-16T22:14:26Z")

</div>

Hello,

I am building an application to talk to ES cluster. I have the flexibility to code the application in Java(using the java client) or C++(using REST APIs). I wanted to know which route would be better?

If the Java client internally converts requests into REST queries, then I might as well go ahead with C++ client.

Thanks,  
Smidth

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:49am UTC](https://discuss.elastic.co/t/what-is-the-wire-protocol-of-elasticsearch-client/20769/2 "2017-07-06T00:49:45Z")

</div>


