Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
adshttpclient.php
1<?
2
4
6{
7 const HTTP_DELETE = "DELETE";
8
9 public function delete($url, $postData = null, $multipart = false)
10 {
11 if ($multipart)
12 {
13 $postData = $this->prepareMultipart($postData);
14 }
15
16 if($this->query(self::HTTP_DELETE, $url, $postData))
17 {
18 return $this->getResult();
19 }
20 return false;
21 }
22}
query($method, $url, $entityBody=null)