How SignalR works internally?

后端 未结 2 1246
深忆病人
深忆病人 2020-11-27 10:15

Can anyone let me know how SignalR works internally in a high level way?

I am guessing it is flushing the data using Response.Flush and at client side i

2条回答
  •  忘掉有多难
    2020-11-27 10:24

    @davidfowl has already answered the major portion. However, to provide some more details regarding the difference in behavior of transports, specifically between WebSocket and other transports; below are some points.

    • WebSocket is the only transport that establishes a true persistent, two-way connection between client and server. However, WebSocket is supported only by IIS 8 or above, and the latest versions of Internet Explorer, Google Chrome and Mozilla Firefox.
    • While Server Sent Events, Forever Frame and Long polling, all three follow a one-way communication, and are supported by most of the browsers.

提交回复
热议问题