Update 37. WebSockets.md

master
qibaoguang 2015-02-27 21:37:15 +08:00
parent fc7b3fea48
commit 76b408aa04
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
### 37. WebSockets
Spring Boot为内嵌的Tomcat(8和7)Jetty 9和Undertow提供WebSockets自动配置。如果你正在将一个war包部署到一个单独的容器Spring Boot会假设该容器会对它的WebSocket支持相关的配置负责。
Spring框架提供[丰富的WebSocket支持](http://docs.spring.io/spring/docs/4.1.4.RELEASE/spring-framework-reference/htmlsingle/#websocket)通过spring-boot-starter-websocket模块可以轻易获取到。