示例#1
0
 protected function deleteCurl($url, $body = 'json')
 {
     $answer = $this->client->createCurl($url, CurlClient::METHOD_DELETE, $body);
     if ($body === 'json' && !$this->debug) {
         return $this->decodeAnswer($answer);
     } else {
         return $answer;
     }
 }
示例#2
0
 public function getInfo()
 {
     return $this->client->getInfo();
 }