src/HttpClientPool/HttpClientPool.php
public function addHttpClient($client): void
    {
        if (!$client instanceof HttpClientPoolItem) {
            $client = new HttpClientPoolItem($client);
        }

        $this->clientPool[] = $client;
    }
public function addHttpClient($client): void
    {
        if (!$client instanceof HttpClientPoolItem) {
            $client = new HttpClientPoolItem($client);
        }

        $this->clientPool[] = $client;
    }
public function addHttpClient ( $ client ) : void { if ( ! $ client instanceof HttpClientPoolItem ) { $ client = new HttpClientPoolItem ( $ client ) ; } $ this -> clientPool [ ] = $ client ; }
Add a client to the pool.

@param ClientInterface|HttpAsyncClient|HttpClientPoolItem $client
Add a client to the pool .