См. определение в файле jsonrpctransport.php строка 7
◆ __construct()
__construct |
( |
array | $options = [] | ) |
|
◆ createJsonRpcRequest()
createJsonRpcRequest |
( |
string | $method, |
|
|
| $params ) |
|
staticprotected |
◆ createRequestBatches()
createRequestBatches |
( |
array | $messages | ) |
|
|
staticprotected |
- Аргументы
-
\Bitrix\Pull\DTO\Message[] | $messages | |
- Возвращает
- string[]
См. определение в файле jsonrpctransport.php строка 95
◆ executeBatch()
executeBatch |
( |
string | $queueServerUrl, |
|
|
string | $batchBody ) |
|
protected |
◆ executeMethod()
executeMethod |
( |
string | $queueServerUrl, |
|
|
string | $method, |
|
|
array | $params ) |
|
protected |
◆ getUsersLastSeen()
getUsersLastSeen |
( |
array | $userList | ) |
|
◆ performHttpRequest()
performHttpRequest |
( |
string | $queueServerUrl, |
|
|
string | $body ) |
|
protected |
◆ sendMessages()
sendMessages |
( |
array | $messages | ) |
|
- Аргументы
-
\Bitrix\Pull\DTO\Message[] | $messages | |
array | $options | |
- Возвращает
- Main\Result
- См. также
- DTO\Message
См. определение в файле jsonrpctransport.php строка 29
◆ updateUsersLastSeen()
updateUsersLastSeen |
( |
array | $userTimestamps | ) |
|
Communicates users' last seen timestamps to the queue server.
- Аргументы
-
array | $userTimestamps | USER_ID => LAST_SEEN_TIMESTAMP |
- Возвращает
- Main\Result
См. определение в файле jsonrpctransport.php строка 82
◆ $hostname
◆ $serverUrl
◆ METHOD_GET_LAST_SEEN
◆ METHOD_PUBLISH
const METHOD_PUBLISH = 'publish' |
|
protected |
◆ METHOD_UPDATE_LAST_SEEN
◆ VERSION
Объявления и описания членов класса находятся в файле: