When I connect to signalR located in one virtual directory, I receive data through a websocket transport. But in the case of a cross domain, a long poll becomes used as a transport.
Browser compatibility is not a problem as I try in the Chrome browser.
What can I do to use websocket as a transport in case of cross domain.
I tried all possible solutions available on the network, including those available on the wiki signature.
https://github.com/SignalR/SignalR/wiki/SignalR-JS-Client-Hubs
source share