Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс HttpQuery

Открытые члены

 __construct (HttpClient $client, int $userId, string $serviceName='google')
 
 getClient ()
 
 query (string $method, string $url, $body=null)
 
 getStatus ()
 
 getResult ()
 
 post (string $url, $body=null)
 
 get (string $url, $body=null)
 
 delete (string $url, $body=null)
 
 put (string $url, $body=null)
 

Подробное описание

См. определение в файле httpquery.php строка 9

Конструктор(ы)

◆ __construct()

__construct ( HttpClient $client,
int $userId,
string $serviceName = 'google' )

См. определение в файле httpquery.php строка 21

Методы

◆ delete()

delete ( string $url,
$body = null )
Аргументы
string$url
$body
Возвращает
void
Исключения

Bitrix\Main\LoaderException

См. определение в файле httpquery.php строка 106

◆ get()

get ( string $url,
$body = null )
Аргументы
string$url
$body
Возвращает
void
Исключения

Bitrix\Main\LoaderException

См. определение в файле httpquery.php строка 95

◆ getClient()

getClient ( )
Возвращает
HttpClient

См. определение в файле httpquery.php строка 33

◆ getResult()

getResult ( )
Возвращает
string

См. определение в файле httpquery.php строка 73

◆ getStatus()

getStatus ( )
Возвращает
int

См. определение в файле httpquery.php строка 65

◆ post()

post ( string $url,
$body = null )
Аргументы
string$url
$body
Возвращает
void
Исключения

Bitrix\Main\LoaderException

См. определение в файле httpquery.php строка 84

◆ put()

put ( string $url,
$body = null )
Аргументы
string$url
$body
Возвращает
void

См. определение в файле httpquery.php строка 116

◆ query()

query ( string $method,
string $url,
$body = null )
Аргументы
string$method
string$url
$body
Возвращает
void
Исключения

Bitrix\Main\LoaderException

См. определение в файле httpquery.php строка 45