Your IP : 18.117.11.233


Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/main/lib/web/http/socket/
Upload File :
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/main/lib/web/http/socket/promise.php

<?php

namespace Bitrix\Main\Web\Http\Socket;

use Bitrix\Main\Web\Http;

class Promise extends Http\Promise
{
	/**
	 * @param Handler $handler
	 * @param Http\Queue $queue
	 */
	public function __construct(Handler $handler, Http\Queue $queue)
	{
		parent::__construct($handler, $queue);

		$this->id = spl_object_hash($this);
	}

	/**
	 * @return Handler
	 */
	public function getHandler(): Handler
	{
		return $this->handler;
	}
}