getElasticsearchApi method

ElasticsearchApi getElasticsearchApi()

Get ElasticsearchApi instance, base route and serializer can be overridden by a given but be careful, by doing that all interceptors will not be executed

Implementation

ElasticsearchApi getElasticsearchApi() {
  return ElasticsearchApi(dio, serializers);
}