PHP Class fXmlRpc\Transport\Recorder

Inheritance: implements fXmlRpc\Transport\TransportInterface
Datei anzeigen Open project: lstrojny/fxmlrpc Class Usage Examples

Public Methods

Method Description
__construct ( fXmlRpc\Transport\TransportInterface $transport )
getLastException ( ) : Exceptio\Exception | null Returns exception when last request fail.
getLastRequest ( ) : string | null Returns the XML sent in the last request.
getLastResponse ( ) : string | null Returns the XML received in the last response.
send ( $endpoint, $payload )

Method Details

__construct() public method

public __construct ( fXmlRpc\Transport\TransportInterface $transport )
$transport fXmlRpc\Transport\TransportInterface

getLastException() public method

Returns exception when last request fail.
public getLastException ( ) : Exceptio\Exception | null
return Exceptio\Exception | null

getLastRequest() public method

Returns the XML sent in the last request.
public getLastRequest ( ) : string | null
return string | null

getLastResponse() public method

Returns the XML received in the last response.
public getLastResponse ( ) : string | null
return string | null

send() public method

public send ( $endpoint, $payload )