XRL
3.0.1
Simple XML-RPC Library (both client and server)
|
Interface for an XML-RPC encoder. More...
Public Member Functions | |
encodeError (\Exception $error) | |
encodeRequest (\fpoirotte\XRL\Request $request) | |
encodeResponse ($response) | |
Interface for an XML-RPC encoder.
Definition at line 20 of file EncoderInterface.php.
fpoirotte\XRL\EncoderInterface::encodeError | ( | \Exception | $error | ) |
Encode an exception as an XML-RPC failure.
Exception | $error | The exception to encode. |
string | The exception, encoded as a XML-RPC failure in serialized form. |
Implemented in fpoirotte\XRL\NativeEncoder, and fpoirotte\XRL\Encoder.
fpoirotte\XRL\EncoderInterface::encodeRequest | ( | \fpoirotte\XRL\Request | $request | ) |
Encode an XML-RPC request.
fpoirotte::XRL::Request | $request | The XML-RPC request to encode. |
string | The XML-RPC request, encoded as serialized XML. |
Implemented in fpoirotte\XRL\NativeEncoder, and fpoirotte\XRL\Encoder.
fpoirotte\XRL\EncoderInterface::encodeResponse | ( | $response | ) |
Encode an XML-RPC response.
mixed | $response | The XML-RPC response to encode. |
string | The XML-RPC reponse, encoded as serialized XML. |
Implemented in fpoirotte\XRL\NativeEncoder, and fpoirotte\XRL\Encoder.