IMPORTANT: elasticsearch.js has been replaced by the new Elasticsearch JavaScript client. We strongly advise you to migrate to the new client. To learn more, see the migration guide.
Host
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Host
editThe host class is used to represent a single node/host/endpoint. These objects are created automatically by the Client constructor, as well as during sniff operations.