Interface for an XML-RPC decoder.
More...
Interface for an XML-RPC decoder.
- Authors
- François Poirotte click.nosp@m.y@er.nosp@m.ebot..nosp@m.net
Definition at line 20 of file DecoderInterface.php.
fpoirotte\XRL\DecoderInterface::decodeRequest |
( |
|
$URI | ) |
|
Decode an XML-RPC request.
- Parameters
-
string | $URI | URI to XML-RPC request. |
- Return values
-
- Exceptions
-
InvalidArgumentException | The given $data was invalid. For example, it wasn't a string, it didn"t contain any XML or the request was malformed. |
Implemented in fpoirotte\XRL\Decoder, and fpoirotte\XRL\NativeDecoder.
fpoirotte\XRL\DecoderInterface::decodeResponse |
( |
|
$URI | ) |
|
Decode an XML-RPC response.
- Parameters
-
string | $URI | URI to the XML-RPC response. |
- Return values
-
mixed | The return value represented by the XML-RPC response. |
- Exceptions
-
fpoirotte::XRL::Exception | Thrown whenever the response described a failure. This exception's getCode() and getMessage() methods can be used to retrieve the original failure's code and description, respectively. |
InvalidArgumentException | The given $data was invalid. For example, it wasn't a string, it didn"t contain any XML or the request was malformed. |
Implemented in fpoirotte\XRL\Decoder, and fpoirotte\XRL\NativeDecoder.
The documentation for this interface was generated from the following file: