Home > Backend Development > PHP Tutorial > javascript - websocket与EventSource的区别在哪里?作为wordpress主题使用,哪个更利好?

javascript - websocket与EventSource的区别在哪里?作为wordpress主题使用,哪个更利好?

WBOY
Release: 2016-06-06 20:21:17
Original
1954 people have browsed it

wordpress主题中需要一个消息通知服务,我就半吊子水平,各路大神来指点一二。websocket与EventSource的区别在哪里,在WP主题的场景中哪个更利用,比如PHP服务器的部署,比如json之类的数据格式?或者是jquery写个短轮询。

回复内容:

wordpress主题中需要一个消息通知服务,我就半吊子水平,各路大神来指点一二。websocket与EventSource的区别在哪里,在WP主题的场景中哪个更利用,比如PHP服务器的部署,比如json之类的数据格式?或者是jquery写个短轮询。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template