即时通讯 实现原理有两种

1、ajax 轮询

使用定时器 每隔1s时间 发送ajax到后台(性能不好)

2、ajax 轮询

使用定时器 每隔1s时间 发送ajax到后台

猜你喜欢

转载自www.cnblogs.com/maizilili/p/12974115.html
今日推荐