Zend\XmlRpc\Response\Http
HTTP response
Synopsis
class Http
extends Response
{
- // Inherited members from Response
- protected mixed $return;
- protected string $type;
- protected string $encoding;
- protected Fault $fault;
- // methods
- public string __toString()
- // Inherited methods from Response
- public void __construct()
- public Response setEncoding()
- public string getEncoding()
- public void setReturnValue()
- public mixed getReturnValue()
- protected AbstractValue _getXmlRpcReturn()
- public bool isFault()
- public Fault getFault()
- public bool loadXml()
- public string saveXml()
- public string __toString()
Hierarchy
Extends
Members
protected
- $encoding
—
string
Response character encoding - $fault
—
Zend\XmlRpc\null|\Zend\XmlRpc\Fault
Fault, if response is a fault response - $return
—
mixed
Return value - $type
—
string
Return type
Methods
public
- __toString() — Override __toString() to send HTTP Content-Type header
Inherited from Zend\XmlRpc\Response
protected
- _getXmlRpcReturn() — Retrieve the XMLRPC value for the return value
public
- __toString() — Return XML response
- getEncoding() — Retrieve current response encoding
- getFault() — Returns the fault, if any.
- getReturnValue() — Retrieve the return value
- isFault() — Is the response a fault response?
- loadXml() — Load a response from an XML response
- saveXml() — Return response as XML
- setEncoding() — Set encoding to use in response
- setReturnValue() — Set the return value