. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ namespace Espo\Core\WebSocket\Ratchet; use Ratchet\Wamp\TopicManager; use Ratchet\Wamp\WampServer; use Ratchet\Wamp\WampServerInterface; /** * Customized so that the welcome response is not sent on open. It will be sent after async access check. */ class EspoWampServer extends WampServer { /** * @noinspection PhpMissingParentConstructorInspection */ public function __construct(WampServerInterface $app) { $this->wampProtocol = new EspoServerProtocol(new TopicManager($app)); } }