12 namespace fpoirotte\XRL;
35 if (!is_string($xmlResult)) {
36 throw new \InvalidArgumentException(
'Not a valid response');
39 $this->result = $xmlResult;
51 header(
'Content-Type: text/xml');
52 header(
'Content-Length: '.strlen($this->result));
This class represents the response to an XML-RPC request.
Interface for the response to an XML-RPC request, as produced by an XML-RPC server.
$result
The response to an XML-RPC request, as serialized XML.