Overview
  • Package
  • Class

Packages

  • Klarna
    • Checkout
  • Payment
    • Klarna
      • HTTP
      • Interfaces
      • Unit
        • Tests

Classes

  • Klarna_Checkout_HTTP_CURLHandle
  • Klarna_Checkout_HTTP_CURLHeaders
  • Klarna_Checkout_HTTP_CURLTransport
  • Klarna_Checkout_HTTP_Request
  • Klarna_Checkout_HTTP_Response

Interfaces

  • Klarna_Checkout_HTTP_CURLHandleInterface

Class Klarna_Checkout_HTTP_CURLHandle

A wrapper around the cURL functions

Klarna_Checkout_HTTP_CURLHandle implements Klarna_Checkout_HTTP_CURLHandleInterface
Package: Payment\Klarna\HTTP
Category: Payment
Copyright: 2015 Klarna AB
License: Apache license v2.0
Author: David K. david.keijser@klarna.com
Link: http://developers.klarna.com/
Located at Klarna/Checkout/HTTP/CURLHandle.php

Methods summary

public
# __construct( )

Create a new cURL handle

Create a new cURL handle

public
# setOption( integer $name, mixed $value )

Set an option for the cURL transfer

Set an option for the cURL transfer

Parameters

$name
option the set
$value
the value to be set on option

Implementation of

Klarna_Checkout_HTTP_CURLHandleInterface::setOption()
public mixed
# execute( )

Perform the cURL session

Perform the cURL session

Returns

mixed
response

Implementation of

Klarna_Checkout_HTTP_CURLHandleInterface::execute()
public array
# getInfo( )

Get information regarding this transfer

Get information regarding this transfer

Returns

array

Implementation of

Klarna_Checkout_HTTP_CURLHandleInterface::getInfo()
public string
# getError( )

Get error message regarding this transfer

Get error message regarding this transfer

Returns

string
Error message

Implementation of

Klarna_Checkout_HTTP_CURLHandleInterface::getError()
public
# close( )

Close the cURL session

Close the cURL session

Implementation of

Klarna_Checkout_HTTP_CURLHandleInterface::close()

Magic methods summary

API documentation generated by ApiGen