SignalR: Why choose Hub vs. Persistent Connection?

后端 未结 5 848
一个人的身影
一个人的身影 2020-12-04 09:20

I\'ve been searching and reading up on SignalR recently and, while I see a lot of explanation of what the difference is between Hubs and Persistent Connections I haven\'t be

5条回答
  •  情歌与酒
    2020-12-04 09:35

    Persistent Connection is a lower level API, you can perform actions on more specific time when the connection is opened or closed, in most applications the Hub is the best choice

提交回复
热议问题