什么流行的Web服务器支持HTML5 WebSocket? [英] What popular webservers have support for HTML5 WebSocket?
问题描述
我想尝试HTML5 WebSockets,并且正在寻找一个支持websockets的成熟webserver。是否有默认支持websocket的web服务器列表? 什么流行的web服务器支持开箱即用的websockets?服务器编程语言并不重要,我知道Java,PHP,Erlang,Python等......我只想做一些小实验。
I would like to experiment with HTML5 WebSockets, and I am looking for a mature webserver with support for websockets. Is there a list of webservers that support websockets per default? What popular webservers has support for websockets out of the box? The server programming language doesn't matter, I know Java, PHP, Erlang, Python and more... I just want to do some small experiments.
我看了一些不支持websockets(还),即Nginx,Apache和Mochiweb的。
I have looked at a few that doesn't support websockets (yet), i.e. Nginx, Apache and Mochiweb.
推荐答案
如今的node.js 时,尤其是在与所述Socket.IO 库,是WebSocket实验的流行平台。它不像Apache / nginx那样是一个传统的网络服务器,但它确实提供了一种服务器编程语言,它非常容易设置用于小型实验,并且可以在生产环境中进行部署。
Nowadays node.js, especially in conjuction with the Socket.IO library, is a popular platform for WebSocket experiments. It's not a traditional "webserver" like Apache/nginx but it certainly offers a "server programming language" that's super easy to set up for small experiments and is possible to deploy in production too.
这篇关于什么流行的Web服务器支持HTML5 WebSocket?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!