protected void StopHub()
        {
            if (_host == null)
                return;

            _host.Stop();
            _host = null;
        }
Пример #2
0
        protected void StopHub()
        {
            if (_host == null)
            {
                return;
            }

            _host.Stop();
            _host = null;
        }
Пример #3
0
 protected void StartHub()
 {
     _host = new HubHost(HubBaseUrl, RestBaseUrl);
     _host.Start();
 }
 public void Init()
 {
     _host = new HubHost();
     _host.Start();
 }
 protected void StartHub()
 {
     _host = new HubHost(HubBaseUrl);
     _host.Start();
 }