1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CBitrixServiceTransport
Граф наследования:CBitrixServiceTransport:
CBitrixSeoTransport

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

 __construct ($clientId, $clientSecret)
 call ($methodName, $additionalParams=null, $licenseCheck=false)
 batch ($actions)
 getMethods ()
 setTimeout ($timeout)
 setStreamTimeout (int $streamTimeout)
 listenHttpErrors (bool $listen=true)

Поля данных

const SERVICE_URL = "/rest/"
const METHOD_METHODS = 'methods'
const METHOD_BATCH = 'batch'

Защищенные члены

 setSeviceHost ($host)
 prepareAnswer ($result)

Защищенные статические члены

static getLicense ()

Защищенные данные

 $clientId = ''
 $clientSecret = ''
 $httpTimeout = SOCSERV_DEFAULT_HTTP_TIMEOUT
int $streamTimeout = null
bool $listenHttpErrors = false
 $serviceHost = ''

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

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

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

◆ __construct()

__construct ( $clientId,
$clientSecret )

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

Методы

◆ batch()

batch ( $actions)

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

◆ call()

call ( $methodName,
$additionalParams = null,
$licenseCheck = false )

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

◆ getLicense()

getLicense ( )
staticprotected

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

◆ getMethods()

getMethods ( )

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

◆ listenHttpErrors()

listenHttpErrors ( bool $listen = true)

If transport has this flag - method call will return error if httpClient end his request by own error.

Example: call returns error if 'NETWORK: Stream time out' will occur.

Аргументы
bool$listen
Возвращает
$this

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

◆ prepareAnswer()

prepareAnswer ( $result)
protected

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

◆ setSeviceHost()

setSeviceHost ( $host)
protected

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

◆ setStreamTimeout()

setStreamTimeout ( int $streamTimeout)

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

◆ setTimeout()

setTimeout ( $timeout)

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

Поля

◆ $clientId

$clientId = ''
protected

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

◆ $clientSecret

$clientSecret = ''
protected

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

◆ $httpTimeout

$httpTimeout = SOCSERV_DEFAULT_HTTP_TIMEOUT
protected

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

◆ $listenHttpErrors

bool $listenHttpErrors = false
protected

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

◆ $serviceHost

$serviceHost = ''
protected

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

◆ $streamTimeout

int $streamTimeout = null
protected

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

◆ METHOD_BATCH

const METHOD_BATCH = 'batch'

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

◆ METHOD_METHODS

const METHOD_METHODS = 'methods'

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

◆ SERVICE_URL

const SERVICE_URL = "/rest/"

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


Объявления и описания членов класса находятся в файле: