XRL  latest
Simple XML-RPC Library (both client and server)
EncoderInterface.php
1 <?php
2 /*
3  * This file is part of XRL, a simple XML-RPC Library for PHP.
4  *
5  * Copyright (c) 2012, XRL Team. All rights reserved.
6  * XRL is licensed under the 3-clause BSD License.
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
12 namespace fpoirotte\XRL;
13 
21 {
32  public function encodeRequest(\fpoirotte\XRL\Request $request);
33 
44  public function encodeError(\Exception $error);
45 
56  public function encodeResponse($response);
57 }
Interface for an XML-RPC encoder.
An exception that is used to represent XML-RPC errors.
Definition: Exception.php:21
encodeRequest(\fpoirotte\XRL\Request $request)
encodeError(\Exception $error)
A class that represents an XML-RPC request.
Definition: Request.php:20