aligent / bigcommerce-v3-api-php-client

PHP library to interact with the BigCommerce V3 API (https://developer.bigcommerce.com/api-reference#v3-rest-api)
GNU General Public License v3.0
13 stars 23 forks source link

Add the ability to override most Guzzle options #173

Closed jswift closed 1 year ago

jswift commented 1 year ago

Allow overriding of most Guzzle Client defaults, and also set a timeout (as the default is wait forever)

$client = new \BigCommerce\ApiV3\Client(
   $hash,
   $clientId,
   $token,
   clientOptions: ['timeout' => 1]
);