---
name: "Search::Elasticsearch::Role::Client"
section: "3pm"
platform: "linux"
package: "libsearch-elasticsearch-perl"
version: "8.12-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Search::Elasticsearch::Role::Client"
---

# Search::Elasticsearch::Role::Client(3pm)

Provides common functionality for Client implementations

## NAME

Search::Elasticsearch::Role::Client - Provides common functionality for Client implementations

## VERSION

version 8.12

## DESCRIPTION

This role provides a common `perform_request()` method for Client implementations.

## METHODS

### perform\_request()

This method takes whatever arguments it is passed and passes them directly to a `parse_request()` method (which should be provided by Client implementations). The `parse_request()` method should return a request suitable for passing to "**perform\_request()**" in Search::Elasticsearch::Transport.

## AUTHOR

Enrico Zimuel \<enrico.zimuel@elastic.co\>

## COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Elasticsearch BV.

This is free software, licensed under:

```
  The Apache License, Version 2.0, January 2004
```
