PHP Class fXmlRpc\Transport\Recorder

Inheritance: implements fXmlRpc\Transport\TransportInterface
Afficher le fichier Open project: lstrojny/fxmlrpc Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getLastException() public méthode

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

getLastRequest() public méthode

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

getLastResponse() public méthode

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

send() public méthode

public send ( $endpoint, $payload )