fXmlRpc\Transport\TransportInterface::send PHP Method

send() public method

Send XML/RPC request over the wire and return the payload
public send ( string $endpoint, string $payload ) : string
$endpoint string
$payload string
return string
    public function send($endpoint, $payload);

Usage Example

示例#1
0
 /** {@inheritdoc} */
 public function send($endpoint, $payload)
 {
     $this->lastResponse = $this->lastException = null;
     $this->lastRequest = $payload;
     try {
         $this->lastResponse = $this->transport->send($endpoint, $payload);
         return $this->lastResponse;
     } catch (Exception $e) {
         $this->lastException = $e;
         throw $e;
     }
 }
All Usage Examples Of fXmlRpc\Transport\TransportInterface::send
TransportInterface