• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/classes/general/pull_options.php
  • Класс: CPullOptions
  • Вызов: CPullOptions::GetWebSocketSecureUrl
static function GetWebSocketSecureUrl($channelId = "")
{
	if (!is_array($channelId) && $channelId <> '')
		$channelId = Array($channelId);
	else if (!is_array($channelId))
		$channelId = Array();

	$url = COption::GetOptionString("pull", "path_to_websocket_secure", self::GetDefaultOption("path_to_websocket_secure")).(count($channelId)>0?'?CHANNEL_ID='.implode('/', $channelId):'');
	return $url;
}