Which protocol does SignalR use primarily before falling back to other techniques?

  • WebSocket
  • HTTP
  • FTP
  • TCP
SignalR primarily uses the WebSocket protocol for real-time communication due to its low latency and bidirectional capabilities. WebSocket provides a full-duplex communication channel, making it ideal for applications requiring instant updates. SignalR gracefully falls back to other techniques like HTTP long polling or Server-Sent Events for compatibility with older browsers or network restrictions.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *