Pregunta

As described in documentation SignalR the following transport mechanisms:

  1. WebSocketsl;
  2. Server Sent Events;
  3. ForeverFrame;
  4. LongPolling

and it will degrade automatically to the best option supported by the client.

My problems are:

SignalR javascript client (tested to work in all modern browsers on a PC) doesn't work on mobile devices until I specify explicitly to use LongPolling as a transport by writing this:

$.connection.hub.start({ transport: 'longPolling' });

Second problem is that, even if I specify the LongPolling option, it still doesn't work in native Android browsers.

Has anyone encountered or solved these problems?

¿Fue útil?

Solución

I upgraded SignalR version to 2.0.1 and everything magically worked :) I recommend all to do so

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top