Skip to content

Add Guzzle option parameter into Api contructor#33

Open
Max84 wants to merge 1 commit intompclarkson:masterfrom
Max84:Guzzle_options
Open

Add Guzzle option parameter into Api contructor#33
Max84 wants to merge 1 commit intompclarkson:masterfrom
Max84:Guzzle_options

Conversation

@Max84
Copy link

@Max84 Max84 commented Nov 9, 2022

With this PR, we can add Guzzle option with Api constructor.

For example, in order to disable SSL checking (ok it's a bad idea, it's just a dummy example):
$api = new Api(api_key, api_domain, array('verify' => false));

It is backward compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant