1: <?php
2:
3: declare(strict_types=1);
4:
5: namespace OpenSearch\HttpClient;
6:
7: use Psr\Http\Client\ClientInterface;
8:
9: /**
10: * Interface for OpenSearch client factories.
11: */
12: interface HttpClientFactoryInterface
13: {
14: /**
15: * Build the OpenSearch client.
16: *
17: * @param array<string,mixed> $options
18: */
19: public function create(array $options): ClientInterface;
20:
21: }
22: