• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/protobuf/serverstatsrequest.php
  • Класс: BitrixPullProtobufServerStatsRequest
  • Вызов: ServerStatsRequest::writeTo
public function writeTo(ProtobufWriteContext $context)
    {
        $stream      = $context->getStream();
        $writer      = $context->getWriter();
        $sizeContext = $context->getComputeSizeContext();

        if ($this->extensions !== null) {
            $this->extensions->writeTo($context);
        }

        return $stream;
    }