jeudi 11 juillet 2019

curl command in omnipay

I wanted to check when we are calling hitting any API url through omnipay what will be the final command created by omnipay? I debugged and checked in files of guzzle when omnipay trying to hitting the API.

I debugged files of guzzle http library

omnipay\common\src\Common\Http\Client.php - "request" method called

omnipay\common\src\Common\Http\Client.php - "sendRequest" method called

php-http\guzzle6-adapter\src\Client.php - "sendRequest" method called

php-http\guzzle6-adapter\src\Client.php - "sendAsyncRequest" method called

guzzlehttp\guzzle\src\Client.php" - "sendAsync" method called

guzzlehttp\guzzle\src\Client.php" - "prepareDefaults" method called

guzzlehttp\guzzle\src\Client.php" - "transfer" method called

guzzlehttp\guzzle\src\Client.php" - "applyOptions" method called

I am expecting that what command finally created by omnipay.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire