SignalR transport mechanisms

SignalR connects through WebSockets, Server-Sent Events, Forever Frames, and long polling. The following is a short description of each of these transport mechanisms:

  • WebSockets: WebSockets is an advanced computer communication protocol that enables you to open an interactive communication session between the user's browser and a server with a lower overhead. With the advent of HTML5, WebSockets is supported by the latest version of all major browsers, such as Microsoft Edge, Microsoft Internet Explorer, Google Chrome, Firefox, Safari, and Opera. With WebSockets, we can send messages to a server and receive event-driven responses without having to poll the server for a reply. This is full-duplex communication. ...

Get .NET Core 2.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.