src/GuzzleFactory.php
public static function make(array $options = [], int $backoff = null, array $codes = null)
    {
        $config = array_merge(['connect_timeout' => self::CONNECT_TIMEOUT, 'timeout' => self::TIMEOUT], $options);
        $config['handler'] = self::handler($backoff, $codes, $options['handler'] ?? null);

        return new Client($config);
    }
public static function make(array $options = [], int $backoff = null, array $codes = null)
    {
        $config = array_merge(['connect_timeout' => self::CONNECT_TIMEOUT, 'timeout' => self::TIMEOUT], $options);
        $config['handler'] = self::handler($backoff, $codes, $options['handler'] ?? null);

        return new Client($config);
    }
public static function make ( array $ options = [ ] , int $ backoff = null , array $ codes = null ) { $ config = array_merge ( [ 'connect_timeout' => self :: CONNECT_TIMEOUT , 'timeout' => self :: TIMEOUT ] , $ options ) ; $ config [ 'handler' ] = self :: handler ( $ backoff , $ codes , $ options [ 'handler' ] ?? null ) ; return new Client ( $ config ) ; }
Create a new guzzle client.

@param array      $options
@param int|null   $backoff
@param int[]|null $codes

@return \GuzzleHttp\Client
Create a new guzzle client .