PHP Класс fXmlRpc\Transport\Recorder

Наследование: implements fXmlRpc\Transport\TransportInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

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

getLastException() публичный Метод

Returns exception when last request fail.
public getLastException ( ) : Exceptio\Exception | null
Результат Exceptio\Exception | null

getLastRequest() публичный Метод

Returns the XML sent in the last request.
public getLastRequest ( ) : string | null
Результат string | null

getLastResponse() публичный Метод

Returns the XML received in the last response.
public getLastResponse ( ) : string | null
Результат string | null

send() публичный Метод

public send ( $endpoint, $payload )