Overview
  • Namespace
  • Class

Namespaces

  • PayPal
    • Api
    • Auth
    • Cache
    • Common
    • Converter
    • Core
    • Exception
    • Handler
    • Log
    • Rest
    • Security
    • Transport
    • Validation

Classes

  • PayPalConfigManager
  • PayPalConstants
  • PayPalCredentialManager
  • PayPalHttpConfig
  • PayPalHttpConnection
  • PayPalLoggingManager

Class PayPalHttpConnection

A wrapper class based on the curl extension. Requires the PHP curl module to be enabled. See for full requirements the PHP manual: http://php.net/curl

Namespace: PayPal\Core
Located at PayPal/Core/PayPalHttpConnection.php

Methods summary

public
# __construct( PayPal\Core\PayPalHttpConfig $httpConfig, array $config )

Default Constructor

Default Constructor

Parameters

$httpConfig
$config

Throws

PayPal\Exception\PayPalConfigurationException
protected integer
# parseResponseHeaders( resource $ch, string $data )

Parses the response headers for debugging.

Parses the response headers for debugging.

Parameters

$ch
$data

Returns

integer
protected string
# implodeArray( array $arr )

Implodes a key/value array for printing.

Implodes a key/value array for printing.

Parameters

$arr

Returns

string
public mixed
# execute( string $data )

Executes an HTTP request

Executes an HTTP request

Parameters

$data
query string OR POST content as a string

Returns

mixed

Throws

PayPal\Exception\PayPalConnectionException
API documentation generated by ApiGen