PHP Class PayPal\Core\PayPalHttpConnection

Requires the PHP curl module to be enabled. See for full requirements the PHP manual: http://php.net/curl
Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( PayPalHttpConfig $httpConfig, array $config ) Default Constructor
execute ( string $data ) : mixed Executes an HTTP request

Private Methods

Méthode Description
getHttpHeaders ( ) : array Gets all Http Headers

Method Details

__construct() public méthode

Default Constructor
public __construct ( PayPalHttpConfig $httpConfig, array $config )
$httpConfig PayPalHttpConfig
$config array

execute() public méthode

Executes an HTTP request
public execute ( string $data ) : mixed
$data string query string OR POST content as a string
Résultat mixed